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>
Showing
drivers/leds/leds-gpio.c
0 → 100644
Please register or sign in to comment