aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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);