regulator: max77686: Initialize regulator_config

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Axel Lin 2012-06-20 15:01:25 +08:00 committed by Mark Brown
parent 809d310c7e
commit c59d2a6b20

View 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__);