Skip to contentSkip to conversation

regulator: max77686: Initialize regulator_config

PATCH Applied Axel Lin 2 participants 2 messages Jun 20, 2012

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: max77686: Initialize regulator_config

---
 drivers/regulator/max77686.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/regulator/max77686.c +1 -1
index a29eee3..877d4bf 100644
@@ -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__);
 
Signature · 1 line
1.7.9.5