public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: max77686: Initialize regulator_config
@ 2012-06-20  7:01 Axel Lin
  2012-06-20 10:14 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-06-20  7:01 UTC (permalink / raw)
  To: linux-kernel
  Cc: Chiwoong Byun, Jonghwa Lee, Myungjoo Ham, Kyungmin Park,
	Yadwinder Singh Brar, Mark Brown, Liam Girdwood

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 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




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] regulator: max77686: Initialize regulator_config
  2012-06-20  7:01 [PATCH] regulator: max77686: Initialize regulator_config Axel Lin
@ 2012-06-20 10:14 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-06-20 10:14 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Chiwoong Byun, Jonghwa Lee, Myungjoo Ham,
	Kyungmin Park, Yadwinder Singh Brar, Liam Girdwood

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

On Wed, Jun 20, 2012 at 03:01:25PM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-20 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-20  7:01 [PATCH] regulator: max77686: Initialize regulator_config Axel Lin
2012-06-20 10:14 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox