regulator: Update tps65217-regulator for DT changes
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
a493077f18
commit
b683d980d8
|
@ -447,7 +447,7 @@ static int __devinit tps65217_regulator_probe(struct platform_device *pdev)
|
|||
tps->info[pdev->id] = info;
|
||||
|
||||
rdev = regulator_register(®ulators[pdev->id], &pdev->dev,
|
||||
pdev->dev.platform_data, tps);
|
||||
pdev->dev.platform_data, tps, NULL);
|
||||
if (IS_ERR(rdev))
|
||||
return PTR_ERR(rdev);
|
||||
|
||||
|
|
Loading…
Reference in a new issue