tmp_suning_uos_patched/drivers/leds
Sven Wegener f785d022ad leds: leds-pca9532 - fix memory leak and properly handle errors
When the registration fails, we need to release the memory we allocated.
Also we need to save the error from led_classdev_register and propagate
it up, else we'll return success, even if we failed.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-01-08 12:38:58 +00:00
..
Kconfig leds: fix Cobalt Raq LED dependency 2009-01-08 12:38:57 +00:00
led-class.c leds: Fixup kdoc comment to match parameter names 2009-01-08 12:38:57 +00:00
led-core.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
led-triggers.c leds: Ensure led->trigger is set earlier 2008-07-23 09:49:56 +01:00
leds-alix2.c leds: ALIX.2 LEDs driver 2009-01-08 12:38:57 +00:00
leds-ams-delta.c leds: Fix wrong loop direction on removal in leds-ams-delta 2009-01-08 12:38:58 +00:00
leds-atmel-pwm.c leds: fix unsigned value overflow in atmel pwm driver 2008-07-23 09:49:56 +01:00
leds-clevo-mail.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-cobalt-qube.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-cobalt-raq.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-da903x.c leds: da903x: (da9030 only) led brightness reversed. 2008-10-30 22:14:10 +08:00
leds-fsg.c leds-fsg: change order of initialization and deinitialization 2008-10-03 18:22:18 -07:00
leds-gpio.c leds: enable support for blink_set() platform hook in leds-gpio 2008-04-24 23:37:42 +01:00
leds-h1940.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-hp-disk.c remove unused #include <version.h>'s 2008-11-01 09:50:12 -07:00
leds-hp6xx.c sh: Migrate common board headers to mach-common/. 2008-10-20 13:02:48 +09:00
leds-locomo.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-net48xx.c
leds-pca955x.c leds: leds-pca955x - Mark pca955x_led_set() static 2008-10-20 22:57:56 +01:00
leds-pca9532.c leds: leds-pca9532 - fix memory leak and properly handle errors 2009-01-08 12:38:58 +00:00
leds-s3c24xx.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
leds-sunfire.c leds: Add driver for Sunfire UltraSPARC server LEDs. 2008-08-31 20:26:48 -07:00
leds-wrap.c leds: Add leds-wrap default-trigger 2008-10-20 22:36:03 +01:00
leds.h leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
ledtrig-backlight.c leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00
ledtrig-default-on.c leds: Add default-on trigger 2008-04-25 00:06:52 +01:00
ledtrig-heartbeat.c
ledtrig-ide-disk.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
ledtrig-timer.c leds: Remove uneeded strlen calls 2008-10-20 22:37:04 +01:00
Makefile leds: ALIX.2 LEDs driver 2009-01-08 12:38:57 +00:00