summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBibek Basu <bibek.basu@stericsson.com>2011-06-23 15:33:21 +0530
committerMathieu J. Poirier <mathieu.poirier@linaro.org>2011-11-10 11:12:15 -0700
commit8bd85c439ff290c50cea7d85ec274e64f17de4cb (patch)
treecb1ba229993ef4241c359e05a999542e64d2345f
parent7f8ab79653dbea87c658489f54b7e8f3075992e6 (diff)
U8500: change GPIO for SIM activity detection driver
This patch solves two things. One is to move to AB8500 GPIO for sim activity detection and another is to fix the missing return in driver probe. ST-Ericsson Linux next: 336280 ST-Ericsson ID: 349042 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Change-Id: Idd4c2b0877c9d8a1590b4e866efa61377963fb93 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25770 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r--drivers/misc/sim_detect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/sim_detect.c b/drivers/misc/sim_detect.c
index 24862edfca7..c267fe95ee3 100644
--- a/drivers/misc/sim_detect.c
+++ b/drivers/misc/sim_detect.c
@@ -115,6 +115,7 @@ static int __devinit sim_detect_probe(struct platform_device *pdev)
"sim activity", sim_detect);
if (ret < 0)
goto out_free_irq;
+ return 0;
out_free_irq:
modem_put(sim_detect->modem);
platform_set_drvdata(pdev, NULL);