2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00
linux-next/drivers/leds
David Brownell d379ee8acd leds: just ignore invalid GPIOs in leds-gpio
Sometimes it's awkward to make sure that the array in the
platform_data handed to the leds-gpio driver has only valid
data ... some leds may not be always available, and coping
with that currently requires patching or rebuilding the array.

This patch fixes that by making it be OK to pass an invalid
GPIO (such as "-EINVAL") ... such table entries are skipped.

[rpurdie@linux.intel.com: adjusted to apply against other led tree changes]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Tested-by: Diego Dompe <diego.dompe@ridgerun.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-04-06 16:06:27 +01:00
..
Kconfig leds: add BD2802GU LED driver 2009-04-06 16:06:26 +01:00
led-class.c leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
led-core.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
led-triggers.c leds: Prevent multiple LED triggers with the same name 2009-04-06 16:06:26 +01:00
leds-alix2.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds-ams-delta.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds-atmel-pwm.c leds: fix unsigned value overflow in atmel pwm driver 2008-07-23 09:49:56 +01:00
leds-bd2802.c leds: add BD2802GU LED driver 2009-04-06 16:06:26 +01:00
leds-clevo-mail.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00: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-dac124s085.c leds: Add dac124s085 driver 2009-04-06 16:06:25 +01:00
leds-fsg.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds-gpio.c leds: just ignore invalid GPIOs in leds-gpio 2009-04-06 16:06:27 +01:00
leds-h1940.c leds: move h1940-leds's probe function to .devinit.text 2009-04-06 16:06:26 +01:00
leds-hp6xx.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00: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: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds-pca955x.c leds: leds-pca955x - Mark pca955x_led_set() static 2008-10-20 22:57:56 +01:00
leds-pca9532.c leds: Fix &&/|| confusion in leds-pca9532.c 2009-04-06 16:06:27 +01:00
leds-pwm.c leds: simple driver for pwm driven LEDs 2009-04-06 16:06:26 +01:00
leds-rb532.c leds: Add rb532 LED driver for the User LED 2009-04-06 16:06:26 +01:00
leds-s3c24xx.c leds: remove an unnecessary "goto" on drivers/leds/leds-s3c24.c 2009-04-06 16:06:26 +01:00
leds-sunfire.c leds: Add driver for Sunfire UltraSPARC server LEDs. 2008-08-31 20:26:48 -07:00
leds-wm8350.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds-wrap.c leds: Add suspend/resume to the core class 2009-01-08 17:55:03 +00:00
leds.h leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
ledtrig-backlight.c leds: Add backlight LED trigger 2008-10-20 22:34:12 +01:00
ledtrig-default-on.c leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
ledtrig-gpio.c leds: Add gpio-led trigger 2009-04-06 16:06:26 +01:00
ledtrig-heartbeat.c leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
ledtrig-ide-disk.c leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
ledtrig-timer.c leds: allow led-drivers to use a variable range of brightness values 2009-04-06 16:06:25 +01:00
Makefile leds: add BD2802GU LED driver 2009-04-06 16:06:26 +01:00