summaryrefslogtreecommitdiff
path: root/drivers/regulator/twl-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/twl-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/twl-regulator.c')
-rw-r--r--drivers/regulator/twl-regulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index 0b4f8660fdb4..dd727bca1983 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -1104,7 +1104,8 @@ static int twlreg_probe(struct platform_device *pdev)
template = match->data;
id = template->desc.id;
initdata = of_get_regulator_init_data(&pdev->dev,
- pdev->dev.of_node);
+ pdev->dev.of_node,
+ &template->desc);
drvdata = NULL;
} else {
id = pdev->id;