summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s5m8767.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-17 12:25:45 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-20 13:01:34 +0100
commit0ce6987345a739fc3b2ac5da9c727c3b0133bb9c (patch)
tree15ed03c949c5db8f4ba77b324c5050c779cae096 /drivers/regulator/s5m8767.c
parentregulator: Update tps65217-regulator for DT changes (diff)
downloadlinux-0ce6987345a739fc3b2ac5da9c727c3b0133bb9c.tar.xz
linux-0ce6987345a739fc3b2ac5da9c727c3b0133bb9c.zip
regulator: Update s5m8767 for device tree API changes
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r--drivers/regulator/s5m8767.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index caf0117b471f..a5b9d83913f4 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers/regulator/s5m8767.c
@@ -771,7 +771,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
(desc->max - desc->min) / desc->step + 1;
rdev[i] = regulator_register(&regulators[id], s5m8767->dev,
- pdata->regulators[i].initdata, s5m8767);
+ pdata->regulators[i].initdata, s5m8767, NULL);
if (IS_ERR(rdev[i])) {
ret = PTR_ERR(rdev[i]);
dev_err(s5m8767->dev, "regulator init failed for %d\n",