summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/max77686.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-06-20 09:01:25 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-20 12:13:55 +0200
commitc59d2a6b20aef4660a9ed89224bd17eec6a54751 (patch)
treec3e31c74568273da7237551da845c6687ed6ddba /drivers/regulator/max77686.c
parentregulator: lp872x: Don't allow modular build (diff)
downloadlinux-c59d2a6b20aef4660a9ed89224bd17eec6a54751.tar.xz
linux-c59d2a6b20aef4660a9ed89224bd17eec6a54751.zip
regulator: max77686: Initialize regulator_config
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/max77686.c')
-rw-r--r--drivers/regulator/max77686.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c
index a29eee33dd7b..877d4bff1120 100644
--- a/drivers/regulator/max77686.c
+++ b/drivers/regulator/max77686.c
@@ -217,7 +217,7 @@ static __devinit int max77686_pmic_probe(struct platform_device *pdev)
struct max77686_data *max77686;
int i, size;
int ret = 0;
- struct regulator_config config;
+ struct regulator_config config = { };
dev_dbg(&pdev->dev, "%s\n", __func__);