gpio: twl4030: Use only TWL4030_MODULE_LED for LED configuration
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 13 Nov 2012 09:35:13 +0000 (10:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 17 Nov 2012 20:15:33 +0000 (21:15 +0100)
commit9859eb99e9212339e2009b98c396b08260276edf
treee99f468ab38110c6b4e738d2fc9ff48980e846da
parent195812e4b6a631e8eaad4046bf6890db4328ea1f
gpio: twl4030: Use only TWL4030_MODULE_LED for LED configuration

Avoid using the TWL4030_MODULE_PWMA/B as module ID. The LEDEN, PWMA ON/OFF
and PWMB ON/OFF registers are in a continuous range starting from LED base.
This is going to be helpful for further cleanup in the twl stack.

No functional changes.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-twl4030.c