omap3: fix and improve the LED handling on IGEP v2 board
authorEnric Balletbo i Serra <eballetbo@gmail.com>
Fri, 8 Oct 2010 17:22:28 +0000 (10:22 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Oct 2010 17:22:28 +0000 (10:22 -0700)
commitbee153906424f3bf669afec397c810b76117e22b
tree80fa27fa7e254254f9f0bc17d61db323025c7285
parent61e118dd7755417c541a8ecf32a82c3971258cff
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