aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/max8925-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c
index 58cc5fdde016..e1e59c92f758 100644
--- a/drivers/mfd/max8925-core.c
+++ b/drivers/mfd/max8925-core.c
@@ -627,7 +627,7 @@ int __devinit max8925_device_init(struct max8925_chip *chip,
627 goto out_dev; 627 goto out_dev;
628 } 628 }
629 629
630 if (pdata && pdata->regulator[0]) { 630 if (pdata) {
631 ret = mfd_add_devices(chip->dev, 0, &regulator_devs[0], 631 ret = mfd_add_devices(chip->dev, 0, &regulator_devs[0],
632 ARRAY_SIZE(regulator_devs), 632 ARRAY_SIZE(regulator_devs),
633 &regulator_resources[0], 0); 633 &regulator_resources[0], 0);