summaryrefslogtreecommitdiff
path: root/drivers/regulator/88pm8607.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-12-05 11:06:18 +0000
committerMark Brown <broonie@kernel.org>2014-12-05 11:06:18 +0000
commitf291c74a32509d31731bb82cbb26c64cd430805b (patch)
treec19a8a22880a48a4a4b6eb91ba1a30dd62427f5e /drivers/regulator/88pm8607.c
parent8b7daad3da2b36f5fe494f5d0c5ef25b33d56b96 (diff)
parent5e5e3a42c653c5ef1c281651f1882411601129bd (diff)
Merge branch 'topic/suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-sky81452
Conflicts: drivers/regulator/sky81452-regulator.c
Diffstat (limited to 'drivers/regulator/88pm8607.c')
-rw-r--r--drivers/regulator/88pm8607.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c
index 6d77dcd7dcf6..3fe47bd66153 100644
--- a/drivers/regulator/88pm8607.c
+++ b/drivers/regulator/88pm8607.c
@@ -330,7 +330,8 @@ static int pm8607_regulator_dt_init(struct platform_device *pdev,
for_each_child_of_node(nproot, np) {
if (!of_node_cmp(np->name, info->desc.name)) {
config->init_data =
- of_get_regulator_init_data(&pdev->dev, np);
+ of_get_regulator_init_data(&pdev->dev, np,
+ &info->desc);
config->of_node = np;
break;
}