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> |
||
---|---|---|
.. | ||
debugfs-ec | ||
debugfs-pktcdvd | ||
ima_policy | ||
procfs-diskstats | ||
sysfs-ata | ||
sysfs-block | ||
sysfs-block-zram | ||
sysfs-bus-css | ||
sysfs-bus-i2c-devices-hm6352 | ||
sysfs-bus-pci | ||
sysfs-bus-pci-devices-cciss | ||
sysfs-bus-rbd | ||
sysfs-bus-umc | ||
sysfs-bus-usb | ||
sysfs-bus-usb-devices-usbsevseg | ||
sysfs-c2port | ||
sysfs-class | ||
sysfs-class-bdi | ||
sysfs-class-lcd | ||
sysfs-class-led | ||
sysfs-class-mtd | ||
sysfs-class-net-batman-adv | ||
sysfs-class-net-mesh | ||
sysfs-class-pktcdvd | ||
sysfs-class-power | ||
sysfs-class-regulator | ||
sysfs-class-uwb_rc | ||
sysfs-class-uwb_rc-wusbhc | ||
sysfs-dev | ||
sysfs-devices | ||
sysfs-devices-memory | ||
sysfs-devices-node | ||
sysfs-devices-platform-_UDC_-gadget | ||
sysfs-devices-power | ||
sysfs-devices-system-cpu | ||
sysfs-devices-system-ibm-rtl | ||
sysfs-driver-hid-picolcd | ||
sysfs-driver-hid-prodikeys | ||
sysfs-driver-hid-roccat-kone | ||
sysfs-driver-hid-roccat-koneplus | ||
sysfs-driver-hid-roccat-pyra | ||
sysfs-firmware-acpi | ||
sysfs-firmware-memmap | ||
sysfs-firmware-sfi | ||
sysfs-firmware-sgi_uv | ||
sysfs-fs-ext4 | ||
sysfs-gpio | ||
sysfs-i2c-bmp085 | ||
sysfs-ibft | ||
sysfs-kernel-mm | ||
sysfs-kernel-mm-hugepages | ||
sysfs-kernel-slab | ||
sysfs-kernel-uids | ||
sysfs-memory-page-offline | ||
sysfs-module | ||
sysfs-ocfs2 | ||
sysfs-platform-asus-laptop | ||
sysfs-platform-eeepc-laptop | ||
sysfs-platform-eeepc-wmi | ||
sysfs-platform-ideapad-laptop | ||
sysfs-power | ||
sysfs-pps | ||
sysfs-profiling | ||
sysfs-tty | ||
sysfs-wacom | ||
sysfs-wusb_cbaf |