From: Axel Lin Date: Thu, 25 Apr 2013 14:15:21 +0000 (+0800) Subject: regulator: max8952: Add missing config.of_node setting for regulator register X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=71622e15dd4d497447d19317d93292184ceb67d9;p=linux-beck.git regulator: max8952: Add missing config.of_node setting for regulator register Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/max8952.c b/drivers/regulator/max8952.c index 4259c78abf88..5259c2fea90a 100644 --- a/drivers/regulator/max8952.c +++ b/drivers/regulator/max8952.c @@ -225,6 +225,7 @@ static int max8952_pmic_probe(struct i2c_client *client, config.dev = max8952->dev; config.init_data = pdata->reg_data; config.driver_data = max8952; + config.of_node = client->dev.of_node; config.ena_gpio = pdata->gpio_en; if (pdata->reg_data->constraints.boot_on)