leds: Add generic GPIO LED driver
authorRaphael Assenat <raph@8d.com>
Tue, 27 Feb 2007 19:49:53 +0000 (19:49 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Mon, 16 Jul 2007 00:15:50 +0000 (01:15 +0100)
commit22e03f3b58dfcca30f0c8de185022132459638d1
tree0597fa494d55f44191ec99b4bb34a937efcab0e7
parent8f41958bdd577731f7411c9605cfaa9db6766809
leds: Add generic GPIO LED driver

This patch adds support for GPIO connected leds via the new GPIO framework.

Information about leds (gpio, polarity, name, default trigger) is passed
to the driver via platform_data.

Signed-off-by: Raphael Assenat <raph@8d.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-gpio.c [new file with mode: 0644]
include/linux/leds.h