aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-11-20 23:34:57 -0500
committerMyungJoo Ham <myungjoo.ham@samsung.com>2012-11-21 06:06:38 -0500
commit3bf742ffd48e7d1cea864741a123203207b33b80 (patch)
treedbe0dff663b557e1cd414448e57c7e63f4c22f54
parentf4bb5cb54eb97fee9b4e076df8df68b91861b934 (diff)
extcon: max77693: Fix uninitialised variable warning
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
-rw-r--r--drivers/extcon/extcon-max77693.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 93ca93f26f4f..8bf5e4835b4c 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -672,9 +672,10 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev)
672 info->max77693->muic, 672 info->max77693->muic,
673 &max77693_muic_regmap_config); 673 &max77693_muic_regmap_config);
674 if (IS_ERR(info->max77693->regmap_muic)) { 674 if (IS_ERR(info->max77693->regmap_muic)) {
675 ret = PTR_ERR(info->max77693->regmap_muic);
675 dev_err(max77693->dev, 676 dev_err(max77693->dev,
676 "failed to allocate register map: %d\n", ret); 677 "failed to allocate register map: %d\n", ret);
677 return PTR_ERR(info->max77693->regmap_muic); 678 return ret;
678 } 679 }
679 } 680 }
680 platform_set_drvdata(pdev, info); 681 platform_set_drvdata(pdev, info);