diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-17 06:25:45 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 07:01:34 -0500 |
commit | 0ce6987345a739fc3b2ac5da9c727c3b0133bb9c (patch) | |
tree | 15ed03c949c5db8f4ba77b324c5050c779cae096 /drivers/regulator/s5m8767.c | |
parent | b683d980d8cd91f95a00c9be95ea5116a7db7537 (diff) |
regulator: Update s5m8767 for device tree API changes
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/s5m8767.c')
-rw-r--r-- | drivers/regulator/s5m8767.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index caf0117b471f..a5b9d83913f4 100644 --- a/drivers/regulator/s5m8767.c +++ b/drivers/regulator/s5m8767.c | |||
@@ -771,7 +771,7 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev) | |||
771 | (desc->max - desc->min) / desc->step + 1; | 771 | (desc->max - desc->min) / desc->step + 1; |
772 | 772 | ||
773 | rdev[i] = regulator_register(®ulators[id], s5m8767->dev, | 773 | rdev[i] = regulator_register(®ulators[id], s5m8767->dev, |
774 | pdata->regulators[i].initdata, s5m8767); | 774 | pdata->regulators[i].initdata, s5m8767, NULL); |
775 | if (IS_ERR(rdev[i])) { | 775 | if (IS_ERR(rdev[i])) { |
776 | ret = PTR_ERR(rdev[i]); | 776 | ret = PTR_ERR(rdev[i]); |
777 | dev_err(s5m8767->dev, "regulator init failed for %d\n", | 777 | dev_err(s5m8767->dev, "regulator init failed for %d\n", |