9f9455ae71
Extend the LED backlight tirgger driver with an option that allows for inverting the trigger output polarity. With the invertion option provided, I (ab)use the backlight trigger for driving a LED that indicates LCD display blank condtition on my Amstrad Delta videophone. Since the machine has no dedicated power LED, it was not possible to distinguish if the display was blanked, or the machine was turned off, without touching it. The invert sysfs control is patterned after a similiar function of the GPIO trigger driver. [akpm@linux-foundation.org: make output match input, tighten input checking] [akpm@linux-foundation.org: make output match input, tighten input checking] Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> Cc: Paul Mundt <lethal@linux-sh.org> Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
dell-led.c | ||
led-class.c | ||
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 | ||
leds-h1940.c | ||
leds-hp6xx.c | ||
leds-locomo.c | ||
leds-lp3944.c | ||
leds-lp5521.c | ||
leds-lp5523.c | ||
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-pwm.c | ||
leds-rb532.c | ||
leds-regulator.c | ||
leds-s3c24xx.c | ||
leds-ss4200.c | ||
leds-sunfire.c | ||
leds-wm831x-status.c | ||
leds-wm8350.c | ||
leds-wrap.c | ||
leds.h | ||
ledtrig-backlight.c | ||
ledtrig-default-on.c | ||
ledtrig-gpio.c | ||
ledtrig-heartbeat.c | ||
ledtrig-ide-disk.c | ||
ledtrig-timer.c |