2012-06-20 07:01:36

by Axel Lin

[permalink] [raw]
Subject: [PATCH] regulator: max77686: Initialize regulator_config

Signed-off-by: Axel Lin <[email protected]>
---
drivers/regulator/max77686.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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

--
1.7.9.5



2012-06-20 10:14:18

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH] regulator: max77686: Initialize regulator_config

On Wed, Jun 20, 2012 at 03:01:25PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <[email protected]>

Applied, thanks.


Attachments:
(No filename) (123.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments