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: NRaphael Assenat <raph@8d.com> Signed-off-by: NRichard Purdie <rpurdie@rpsys.net>
Showing
drivers/leds/leds-gpio.c
0 → 100644
想要评论请 注册 或 登录