regulator: max77686: Initialize regulator_config
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
diff --git a/drivers/regulator/max77686.c b/drivers/regulator/max77686.c
index a29eee3..877d4bf 100644
--- a/drivers/regulator/max77686.c
+++ b/drivers/regulator/max77686.c
@@ -217,7 +217,7 @@
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__);