Input: twl4030-pwrbutton - switch to using TWL_MODULE_PM_MASTER define
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 14 Nov 2012 18:10:49 +0000 (10:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 24 Nov 2012 08:30:16 +0000 (00:30 -0800)
To facilitate upcoming cleanup in twl stack switch from using
TWL4030_MODULE_PM_MASTER define to usingTWL_MODULE_PM_MASTER.
There are no functional changes.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl4030-pwrbutton.c

index b3dd96d..27c2bc8 100644 (file)
@@ -39,8 +39,7 @@ static irqreturn_t powerbutton_irq(int irq, void *_pwr)
        int err;
        u8 value;
 
-       err = twl_i2c_read_u8(TWL4030_MODULE_PM_MASTER, &value,
-                               STS_HW_CONDITIONS);
+       err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &value, STS_HW_CONDITIONS);
        if (!err)  {
                pm_wakeup_event(pwr->dev.parent, 0);
                input_report_key(pwr, KEY_POWER, value & PWR_PWRON_IRQ);