regulator: max77686: Initialize regulator_config
authorAxel Lin <axel.lin@gmail.com>
Wed, 20 Jun 2012 07:01:25 +0000 (15:01 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jun 2012 10:13:55 +0000 (11:13 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c

index a29eee33dd7bb600ae99ea4b4f98077305524345..877d4bff112076e639924375d0286518aa1e9528 100644 (file)
@@ -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__);