mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
regulator: Update s5m8767 for device tree API changes
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
b683d980d8
commit
0ce6987345
1 changed files with 1 additions and 1 deletions
|
@ -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(®ulators[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",
|
||||
|
|
Loading…
Reference in a new issue