Skip to contentSkip to conversation

regulator: max8952: Add missing config.of_node setting for regulator register

PATCH In review Axel Lin 2 participants 2 messages Apr 25, 2013 – Apr 26, 2013 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: max8952: Add missing config.of_node setting for regulator register

---
 drivers/regulator/max8952.c |    1 +
 1 file changed, 1 insertion(+)
drivers/regulator/max8952.c +1 -0
index 4259c78..5259c2f 100644
@@ -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)
Signature · 1 line
1.7.10.4