summaryrefslogtreecommitdiff
path: root/drivers/regulator/pwm-regulator.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-11-26 19:42:41 +0000
committerMark Brown <broonie@kernel.org>2014-11-26 19:42:41 +0000
commitf9fbc21d03d719a10cbffe19870092592bf60d56 (patch)
tree3f0ed48bd94d1957bd03fbebdc9779270840adc8 /drivers/regulator/pwm-regulator.c
parenta26ed45c912d46cedac5f15c2872aa7e462fcdf1 (diff)
parent5e5e3a42c653c5ef1c281651f1882411601129bd (diff)
Merge branch 'topic/suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-max77802
Diffstat (limited to 'drivers/regulator/pwm-regulator.c')
-rw-r--r--drivers/regulator/pwm-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c
index d3f55eaea058..91f34ca3a9ac 100644
--- a/drivers/regulator/pwm-regulator.c
+++ b/drivers/regulator/pwm-regulator.c
@@ -149,7 +149,8 @@ static int pwm_regulator_probe(struct platform_device *pdev)
return ret;
}
- config.init_data = of_get_regulator_init_data(&pdev->dev, np);
+ config.init_data = of_get_regulator_init_data(&pdev->dev, np,
+ &drvdata->desc);
if (!config.init_data)
return -ENOMEM;