mfd: Initialize tps65910 irq platform data properly
Laxman Dewangan [Wed, 18 Jan 2012 14:49:16 +0000 (19:49 +0530)]
irq_base of the tps65910 irq platform data should be
initialized with the board provided irq_base data.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
cherry picked from mainline
commit e2aaed2403078ce919d9cf8091ec0ece8e3f12ad

Change-Id: I9861b612feb85d9b53095d221f09e3059b3b1371
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/85125

drivers/mfd/tps65910.c

index 01cf501..4392f6b 100644 (file)
@@ -168,7 +168,7 @@ static int tps65910_i2c_probe(struct i2c_client *i2c,
                goto err;
 
        init_data->irq = pmic_plat_data->irq;
-       init_data->irq_base = pmic_plat_data->irq;
+       init_data->irq_base = pmic_plat_data->irq_base;
 
        tps65910_gpio_init(tps65910, pmic_plat_data->gpio_base);