projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ff4aa9
)
regulator: max8952: Add missing config.of_node setting for regulator register
author
Axel Lin
<axel.lin@ingics.com>
Thu, 25 Apr 2013 14:15:21 +0000
(22:15 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 26 Apr 2013 17:17:01 +0000
(18:17 +0100)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8952.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8952.c
b/drivers/regulator/max8952.c
index
4259c78
..
5259c2f
100644
(file)
--- 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)