mfd: twl4030-irq: Change TWL4030_MODULE_* ids to TWL_MODULE_*
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 13 Nov 2012 08:28:53 +0000 (09:28 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 15:08:06 +0000 (16:08 +0100)
To facilitate upcoming cleanup in twl stack.
No functional changes.

Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl4030-irq.c

index e900402633f5e3cc0020d5066b0bcb199f9dc022..518da0c739075892d762e1b6f6e00311f9da7a88 100644 (file)
@@ -295,8 +295,8 @@ static irqreturn_t handle_twl4030_pih(int irq, void *devid)
        irqreturn_t     ret;
        u8              pih_isr;
 
-       ret = twl_i2c_read_u8(TWL4030_MODULE_PIH, &pih_isr,
-                       REG_PIH_ISR_P1);
+       ret = twl_i2c_read_u8(TWL_MODULE_PIH, &pih_isr,
+                             REG_PIH_ISR_P1);
        if (ret) {
                pr_warning("twl4030: I2C error %d reading PIH ISR\n", ret);
                return IRQ_NONE;