diff options
Diffstat (limited to 'drivers/regulator/pcf50633-regulator.c')
-rw-r--r-- | drivers/regulator/pcf50633-regulator.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c index 4cc85ec6e120..cd761d85c8fd 100644 --- a/drivers/regulator/pcf50633-regulator.c +++ b/drivers/regulator/pcf50633-regulator.c | |||
@@ -284,7 +284,8 @@ static int __devinit pcf50633_regulator_probe(struct platform_device *pdev) | |||
284 | /* Already set by core driver */ | 284 | /* Already set by core driver */ |
285 | pcf = platform_get_drvdata(pdev); | 285 | pcf = platform_get_drvdata(pdev); |
286 | 286 | ||
287 | rdev = regulator_register(®ulators[pdev->id], &pdev->dev, pcf); | 287 | rdev = regulator_register(®ulators[pdev->id], &pdev->dev, |
288 | pdev->dev.platform_data, pcf); | ||
288 | if (IS_ERR(rdev)) | 289 | if (IS_ERR(rdev)) |
289 | return PTR_ERR(rdev); | 290 | return PTR_ERR(rdev); |
290 | 291 | ||