omap3: fix and improve the LED handling on IGEP v2 board
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Tue, 5 Oct 2010 14:15:18 +0000 (14:15 +0000)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Oct 2010 17:10:04 +0000 (10:10 -0700)
commitc412b391070fa69c64e966a26d31850a39501455
tree12348651deb62d7eb6c8d7a81272fb80880869b4
parenteac30dc82294d04f41fd9297452a60c33e4d0184
omap3: fix and improve the LED handling on IGEP v2 board

The IGEP v2 board has four leds, this patch allows control all
of these LEDs using the LED class if CONFIG_LEDS_GPIO is selected
or using the General Purpose Input/Output (GPIO) interface if
CONFIG_LEDS_GPIO is not selected.

Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-igep0020.c