public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: dummy: Specify a struct device
@ 2012-05-08 17:16 Mark Brown
  2012-05-08 17:16 ` [PATCH 2/2] regulator: core: Warn on missing " Mark Brown
  2012-05-10  9:21 ` [PATCH 1/2] regulator: dummy: Specify a " Liam Girdwood
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2012-05-08 17:16 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-kernel, Mark Brown

This will be becoming mandatory.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 drivers/regulator/dummy.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c
index 1571bee..86f655c 100644
--- a/drivers/regulator/dummy.c
+++ b/drivers/regulator/dummy.c
@@ -42,6 +42,7 @@ static int __devinit dummy_regulator_probe(struct platform_device *pdev)
 	struct regulator_config config = { };
 	int ret;
 
+	config.dev = &pdev->dev;
 	config.init_data = &dummy_initdata;
 
 	dummy_regulator_rdev = regulator_register(&dummy_desc, &config);
-- 
1.7.10


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-10  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-08 17:16 [PATCH 1/2] regulator: dummy: Specify a struct device Mark Brown
2012-05-08 17:16 ` [PATCH 2/2] regulator: core: Warn on missing " Mark Brown
2012-05-10  9:21 ` [PATCH 1/2] regulator: dummy: Specify a " Liam Girdwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox