Axel Lin
e179840ba8
drivers/leds/leds-sunfire.c: fix sunfire_led_generic_probe() error handling
...
- return -ENOMEM if kzalloc fails, rather than the current -EINVAL
- fix a memory leak in the case of goto out_unregister_led_cdevs
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-25 20:57:15 -07:00
..
2010-03-30 22:02:32 +09:00
2011-07-22 14:50:57 -07:00
2011-05-25 08:39:49 -07:00
2008-04-24 23:37:42 +01:00
2011-01-31 16:30:24 +03:00
2011-05-26 19:45:12 +02:00
2010-03-30 22:02:32 +09:00
2009-12-16 11:30:09 +00:00
2009-10-20 09:40:47 -07:00
2011-05-26 19:45:46 +02:00
2010-03-30 22:02:32 +09:00
2011-03-22 17:43:58 -07:00
2009-09-26 10:50:47 -07:00
2009-12-17 11:38:31 +00:00
2009-12-17 11:16:23 +00:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-05 16:58:40 +01:00
2011-05-25 08:39:51 -07:00
2011-06-03 12:14:16 -06:00
2009-01-08 17:55:03 +00:00
2011-05-25 08:39:51 -07:00
2009-11-27 21:07:19 +01:00
2010-06-03 11:33:58 +02:00
2011-07-25 20:57:15 -07:00
2011-06-27 18:00:13 -07:00
2010-03-30 22:02:32 +09:00
2011-05-26 19:45:07 +02:00
2009-01-08 17:55:03 +00:00
2011-03-22 17:43:59 -07:00
2010-10-07 14:02:12 -04:00
2010-10-07 14:00:23 -04:00
2010-06-03 11:33:58 +02:00
2011-07-08 21:14:44 -07:00
2011-01-26 10:49:58 +10:00
2009-04-06 16:06:26 +01:00
2011-04-14 16:06:54 -07:00
2010-03-30 22:02:32 +09:00
2010-11-25 06:50:33 +09:00
2011-07-25 20:57:15 -07:00
2010-03-30 22:02:32 +09:00
2011-03-31 11:26:23 -03:00
2009-01-08 17:55:03 +00:00
2011-05-25 08:39:49 -07:00
2011-01-13 08:03:06 -08:00
2009-04-06 16:06:25 +01:00
2011-01-20 17:02:06 -08:00
2010-03-30 22:02:32 +09:00
2009-04-06 16:06:25 +01:00
2011-05-25 08:39:49 -07:00
2011-05-26 19:45:46 +02:00