* [PATCH] regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
@ 2011-03-29 4:49 Axel Lin
2011-03-29 7:54 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-03-29 4:49 UTC (permalink / raw)
To: linux-kernel; +Cc: Linus Walleij, Liam Girdwood, Mark Brown
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/regulator/tps6105x-regulator.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/regulator/tps6105x-regulator.c b/drivers/regulator/tps6105x-regulator.c
index 1661499..5f975c2 100644
--- a/drivers/regulator/tps6105x-regulator.c
+++ b/drivers/regulator/tps6105x-regulator.c
@@ -158,6 +158,7 @@ static int __devinit tps6105x_regulator_probe(struct platform_device *pdev)
"failed to register regulator\n");
return ret;
}
+ platform_set_drvdata(pdev, tps6105x);
return 0;
}
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe
2011-03-29 4:49 [PATCH] regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe Axel Lin
@ 2011-03-29 7:54 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-03-29 7:54 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Linus Walleij, Liam Girdwood
On Tue, Mar 29, 2011 at 12:49:03PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
With things like this it's useful to note why the set is missing.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-29 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29 4:49 [PATCH] regulator: Add missing platform_set_drvdata in tps6105x_regulator_probe Axel Lin
2011-03-29 7:54 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).