summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBibek Basu <bibek.basu@stericsson.com>2011-06-23 15:33:21 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2011-12-06 11:01:01 +0100
commit2840074a2f167826fb9ab84c8a450b0078052eab (patch)
treef32a18a8ffeebff50d37c4f3030bc7ca89c0537a
parent2badb9d6875ce26106bee1d2e7ce1dc98557be23 (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);