summaryrefslogtreecommitdiff
path: root/drivers/misc/gpio_led.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-12gpio_led: add gpio_request to __led_initThomas Chou1-8/+4
This patch adds the gpio usage request. The polarity is changed to positive as suggested by Mike Frysinger. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-05-28misc: add gpio based status led driverThomas Chou1-0/+30
This patch adds a status led driver followed the GPIO access conventions of Linux. The led mask is used to specify the gpio pin. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Tested-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Scott McNutt <smcnutt@psyent.com>