linux-sg2042/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: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
leds-atmel-pwm.c leds: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07:00
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: fix platform driver hotplug/coldplug 2008-04-15 19:35:40 -07: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-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: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
leds-net48xx.c leds: Standardise LED naming scheme 2008-02-07 09:47:00 +00:00
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: Add power LED to the wrap driver 2008-02-07 09:52:03 +00:00
leds.h leds: Cleanup various whitespace and code style issues 2008-04-24 23:37:42 +01:00
ledtrig-heartbeat.c [PATCH] LED: add LED heartbeat trigger 2006-06-25 10:01:23 -07:00
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