Files
linux/drivers
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
..
…
…
…
…
…
…
…
…
…
…
…
2011-07-22 14:39:51 +09:30
…
…
2011-07-24 13:11:40 -07:00
…
2011-07-23 23:53:55 -06:00
…
…
…
…
…
…
…
2011-07-24 20:42:47 -07:00
…
…
…
…