diff options
| author | Axel Lin <axel.lin@ingics.com> | 2013-04-25 10:15:21 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-26 13:17:01 -0400 |
| commit | 71622e15dd4d497447d19317d93292184ceb67d9 (patch) | |
| tree | a33fcfb5923a903c35057b5640540d664fe8d1a6 | |
| parent | 3ff4aa95b3cd960a1c2e1422bc3dbd604f88271b (diff) | |
regulator: max8952: Add missing config.of_node setting for regulator register
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| -rw-r--r-- | drivers/regulator/max8952.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, | |||
| 225 | config.dev = max8952->dev; | 225 | config.dev = max8952->dev; |
| 226 | config.init_data = pdata->reg_data; | 226 | config.init_data = pdata->reg_data; |
| 227 | config.driver_data = max8952; | 227 | config.driver_data = max8952; |
| 228 | config.of_node = client->dev.of_node; | ||
| 228 | 229 | ||
| 229 | config.ena_gpio = pdata->gpio_en; | 230 | config.ena_gpio = pdata->gpio_en; |
| 230 | if (pdata->reg_data->constraints.boot_on) | 231 | if (pdata->reg_data->constraints.boot_on) |
