misc: add gpio based status led driver
authorThomas Chou <thomas@wytron.com.tw>
Fri, 30 Apr 2010 03:34:14 +0000 (11:34 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 28 May 2010 14:56:03 +0000 (10:56 -0400)
commit3e6b86b5552840bb4147871a753840eb3923374c
treee99778f2e762cf8f52898a81ff13480de1939f99
parentcedd341d551b6b705e97ab1953a87575b9ff9ef9
misc: add gpio based status led driver

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>
drivers/misc/Makefile
drivers/misc/gpio_led.c [new file with mode: 0644]