linux/drivers/leds
Axel Lin d8cc667be8 leds: leds-pwm: return proper error if pwm_request failed
Return PTR_ERR(led_dat->pwm) instead of 0 if pwm_request failed

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Luotao Fu <l.fu@pengutronix.de>
Cc: Reviewed-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-26 10:49:58 +10:00
..
dell-led.c
Kconfig leds: fix up dependencies 2010-12-02 14:51:15 -08:00
led-class.c led_class: fix typo in blink API 2010-12-22 19:43:34 -08:00
led-core.c
led-triggers.c
leds-88pm860x.c
leds-adp5520.c
leds-alix2.c
leds-ams-delta.c
leds-atmel-pwm.c
leds-bd2802.c
leds-clevo-mail.c
leds-cobalt-qube.c
leds-cobalt-raq.c
leds-da903x.c
leds-dac124s085.c
leds-fsg.c
leds-gpio.c drivers/leds/leds-gpio.c: properly initialize return value 2010-11-12 07:55:32 -08:00
leds-h1940.c
leds-hp6xx.c
leds-locomo.c
leds-lp3944.c
leds-lp5521.c leds-lp5521: modify the way of setting led device name 2011-01-13 08:03:06 -08:00
leds-lp5523.c leds: lp5523: fix circular locking 2011-01-13 08:03:05 -08:00
leds-lt3593.c
leds-mc13783.c
leds-net48xx.c
leds-net5501.c
leds-netxbig.c
leds-ns2.c
leds-pca955x.c
leds-pca9532.c leds: leds-pca9532 cleanups 2011-01-13 08:03:05 -08:00
leds-pwm.c leds: leds-pwm: return proper error if pwm_request failed 2011-01-26 10:49:58 +10:00
leds-rb532.c
leds-regulator.c
leds-s3c24xx.c
leds-ss4200.c leds: fix bug with reading NAS SS4200 dmi code 2010-11-25 06:50:33 +09:00
leds-sunfire.c
leds-wm831x-status.c
leds-wm8350.c leds-wm8350: don't use flush_scheduled_work() 2010-12-24 15:59:07 +01:00
leds-wrap.c
leds.h
ledtrig-backlight.c leds: add output inversion option to backlight trigger 2011-01-13 08:03:06 -08:00
ledtrig-default-on.c
ledtrig-gpio.c drivers/leds/ledtrig-gpio.c: make output match input, tighten input checking 2011-01-20 17:02:06 -08:00
ledtrig-heartbeat.c
ledtrig-ide-disk.c
ledtrig-timer.c
Makefile leds: update LP552x support Kconfig and Makefile 2010-11-12 07:55:32 -08:00