summaryrefslogtreecommitdiff
path: root/drivers/regulator/max8998.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-23 22:50:59 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-23 22:50:59 +0400
commit924ee2c9621b65df9dffa8218af5ee9a9b892bba (patch)
tree316d72848181d4198dad3407ba5441083708ab7e /drivers/regulator/max8998.c
parent68aaa37d0e8232d62a7e9411699e0dc005750186 (diff)
parent69511a452e6dc6b74fe4f3671a51b1b44b9c57e3 (diff)
downloadlinux-924ee2c9621b65df9dffa8218af5ee9a9b892bba.tar.xz
Merge remote-tracking branch 'regulator/topic/dt' into regulator-next
Diffstat (limited to 'drivers/regulator/max8998.c')
-rw-r--r--drivers/regulator/max8998.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c
index 41a1495eec2b..2d38c2493a07 100644
--- a/drivers/regulator/max8998.c
+++ b/drivers/regulator/max8998.c
@@ -847,7 +847,7 @@ static __devinit int max8998_pmic_probe(struct platform_device *pdev)
regulators[index].n_voltages = count;
}
rdev[i] = regulator_register(&regulators[index], max8998->dev,
- pdata->regulators[i].initdata, max8998);
+ pdata->regulators[i].initdata, max8998, NULL);
if (IS_ERR(rdev[i])) {
ret = PTR_ERR(rdev[i]);
dev_err(max8998->dev, "regulator init failed\n");