diff options
author | Mark Brown <broonie@kernel.org> | 2014-12-05 14:06:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-05 14:06:18 +0300 |
commit | f291c74a32509d31731bb82cbb26c64cd430805b (patch) | |
tree | c19a8a22880a48a4a4b6eb91ba1a30dd62427f5e /drivers/regulator/max8998.c | |
parent | 8b7daad3da2b36f5fe494f5d0c5ef25b33d56b96 (diff) | |
parent | 5e5e3a42c653c5ef1c281651f1882411601129bd (diff) | |
download | linux-f291c74a32509d31731bb82cbb26c64cd430805b.tar.xz |
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/max8998.c')
-rw-r--r-- | drivers/regulator/max8998.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/regulator/max8998.c b/drivers/regulator/max8998.c index 961091b46557..59e34a05a4a2 100644 --- a/drivers/regulator/max8998.c +++ b/drivers/regulator/max8998.c @@ -686,8 +686,9 @@ static int max8998_pmic_dt_parse_pdata(struct max8998_dev *iodev, continue; rdata->id = regulators[i].id; - rdata->initdata = of_get_regulator_init_data( - iodev->dev, reg_np); + rdata->initdata = of_get_regulator_init_data(iodev->dev, + reg_np, + ®ulators[i]); rdata->reg_node = reg_np; ++rdata; } |