Skip to content

Commit

Permalink
regulator: max8952: Add missing config.of_node setting for regulator …
Browse files Browse the repository at this point in the history
…register

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
AxelLin authored and broonie committed Apr 26, 2013
1 parent 3ff4aa9 commit 71622e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/max8952.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 71622e1

Please sign in to comment.