aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/dummy.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-08 13:08:43 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-10 05:48:28 -0400
commit0f82b6cf76516063fe26dac15e93544387c681eb (patch)
tree2d76d2c90bd3c3b37b03f46924fb52eabbae1059 /drivers/regulator/dummy.c
parentb7ca87884b138f27f042dd32bd16e9a9f295da77 (diff)
regulator: dummy: Specify a struct device
This will be becoming mandatory. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'drivers/regulator/dummy.c')
-rw-r--r--drivers/regulator/dummy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/dummy.c b/drivers/regulator/dummy.c
index 1571bee6b1bc..86f655c7f7a1 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)
42 struct regulator_config config = { }; 42 struct regulator_config config = { };
43 int ret; 43 int ret;
44 44
45 config.dev = &pdev->dev;
45 config.init_data = &dummy_initdata; 46 config.init_data = &dummy_initdata;
46 47
47 dummy_regulator_rdev = regulator_register(&dummy_desc, &config); 48 dummy_regulator_rdev = regulator_register(&dummy_desc, &config);