* [PATCH] regulator: max8649: fix missing regmap in rdev
@ 2012-06-05 10:10 Haojian Zhuang
2012-06-05 10:15 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Haojian Zhuang @ 2012-06-05 10:10 UTC (permalink / raw)
To: lrg, broonie, linux-kernel; +Cc: Haojian Zhuang
In probe(), rdev->regmap must be assigned.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
---
drivers/regulator/max8649.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/regulator/max8649.c b/drivers/regulator/max8649.c
index 1f4bb80..9d540cd 100644
--- 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)) {
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: max8649: fix missing regmap in rdev
2012-06-05 10:10 [PATCH] regulator: max8649: fix missing regmap in rdev Haojian Zhuang
@ 2012-06-05 10:15 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-06-05 10:15 UTC (permalink / raw)
To: Haojian Zhuang; +Cc: lrg, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
On Tue, Jun 05, 2012 at 06:10:10PM +0800, Haojian Zhuang wrote:
> In probe(), rdev->regmap must be assigned.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Applied for 3.5, it's not needed in -next as the regulator API will do
the lookup automatically from the device.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-06-05 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 10:10 [PATCH] regulator: max8649: fix missing regmap in rdev Haojian Zhuang
2012-06-05 10:15 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox