TWL4030: make LEDs selectable for twl4030_led_init()
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 10 Dec 2009 15:10:21 +0000 (17:10 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 22 Dec 2009 11:20:02 +0000 (13:20 +0200)
commitd9265aeca01f131e94d4932362032b89719a3d6b
treedb27f39958dd9aecabf631a63dd55a114955caec
parenta200a7c04d89853d2a1395b96d8ca5e3dd754551
TWL4030: make LEDs selectable for twl4030_led_init()

Not all boards have both LEDs hooked, so enabling both on
boards with single LED will just waste power. Make it
possible to choose LEDs by adding argument to
twl4030_led_init().

Using this turn on only LEDB for pandora, leave both LEDs
on for all other boards, as it was before this patch.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
board/logicpd/zoom1/zoom1.c
board/logicpd/zoom2/zoom2.c
board/overo/overo.c
board/pandora/pandora.c
board/ti/beagle/beagle.c
board/timll/devkit8000/devkit8000.c
drivers/misc/twl4030_led.c
include/twl4030.h