gpio_led: add support for inverted polarity
authorIgor Grinberg <grinberg@compulab.co.il>
Thu, 7 Nov 2013 23:03:52 +0000 (01:03 +0200)
committerTom Rini <trini@ti.com>
Mon, 25 Nov 2013 15:41:52 +0000 (10:41 -0500)
commit9dfdcdfed4726f94fc38d94f29f8214f38058576
tree7f621f7ada71e5ee3aad125245e52633e938d2e0
parent6516f81b64c71ab2be61f304d0e13dd84f730484
gpio_led: add support for inverted polarity

Some GPIO connected LEDs have inverted polarity.
Introduce new config option: CONFIG_GPIO_LED_INVERTED_TABLE for the
specifying the inverted GPIO LEDs list and add support for this in the
gpio_led driver.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Tested-by: Ilya Ledvich <ilya@compulab.co.il>
README
drivers/misc/gpio_led.c