linux-stable-rt/drivers/leds
Henrique de Moraes Holschuh 29d76dfa29 leds: Add support to leds with readable status
Some led hardware allows drivers to query the led state, and this patch
adds a hook to let the led class take advantage of that information when
available.

Without this functionality, when access to the led hardware is not
exclusive (i.e. firmware or hardware might change its state behind the
kernel's back), reality goes out of sync with the led class' idea of what
the led is doing, which is annoying at best.

Behaviour for drivers that do not or cannot read the led status is
unchanged.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2008-04-24 23:37:42 +01:00
..
Kconfig leds: Add mail LED support for "Clevo D400P" 2008-04-24 23:34:18 +01:00
Makefile [ARM] 4974/1: Drop unused leds-tosa. 2008-04-19 11:29:09 +01:00
led-class.c leds: Add support to leds with readable status 2008-04-24 23:37:42 +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: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-ams-delta.c
leds-atmel-pwm.c
leds-clevo-mail.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-cm-x270.c
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-corgi.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01: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 leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-hp6xx.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-locomo.c
leds-net48xx.c
leds-s3c24xx.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-spitz.c leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
leds-wrap.c
leds.h leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +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: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00