From 47aed92c7740c33f3acbd9dbdefb5ec6f9effdc0 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 15 Dec 2011 15:03:38 +0800 Subject: [PATCH] regulator: Update da9052-regulator for DT changes Reported-by: Stephen Rothwell Signed-off-by: Mark Brown --- drivers/regulator/da9052-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 30c647f80574..bdb43757d7c7 100644 --- a/drivers/regulator/da9052-regulator.c +++ b/drivers/regulator/da9052-regulator.c @@ -547,7 +547,7 @@ static int __devinit da9052_regulator_probe(struct platform_device *pdev) regulator->rdev = regulator_register(®ulator->info->reg_desc, &pdev->dev, pdata->regulators[pdev->id], - regulator); + regulator, NULL); if (IS_ERR(regulator->rdev)) { dev_err(&pdev->dev, "failed to register regulator %s\n", regulator->info->reg_desc.name); -- 2.20.1