projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e4d7b
)
regulator: max8649: fix missing regmap in rdev
author
Haojian Zhuang
<haojian.zhuang@gmail.com>
Tue, 5 Jun 2012 10:10:10 +0000
(18:10 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 5 Jun 2012 10:15:22 +0000
(11:15 +0100)
In probe(), rdev->regmap must be assigned.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8649.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8649.c
b/drivers/regulator/max8649.c
index
1f4bb80
..
9d540cd
100644
(file)
--- a/
drivers/regulator/max8649.c
+++ b/
drivers/regulator/max8649.c
@@
-259,6
+259,7
@@
static int __devinit max8649_regulator_probe(struct i2c_client *client,
config.dev = &client->dev;
config.init_data = pdata->regulator;
config.driver_data = info;
+ config.regmap = info->regmap;
info->regulator = regulator_register(&dcdc_desc, &config);
if (IS_ERR(info->regulator)) {