From: Mark Brown Date: Tue, 17 Jan 2012 11:25:45 +0000 (+0000) Subject: regulator: Update s5m8767 for device tree API changes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0ce6987345a739fc3b2ac5da9c727c3b0133bb9c;p=linux-beck.git regulator: Update s5m8767 for device tree API changes Signed-off-by: Mark Brown --- 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) (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",