summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2012-09-27 17:53:39 +0800
committerLinus Walleij <linus.walleij@linaro.org>2012-09-28 09:27:34 +0200
commitea5363663f33e4b1ec7fda1034f387b5edaf3d04 (patch)
treef7cf3fe1ea136fee88c21ae4c76367741e99e7a8 /drivers/pinctrl
parent7d66ce7f8cf4df01a39a5abad4769df23ff59b8a (diff)
pinctrl: sirf: fix a typo in sirfsoc_gpio_probe
Return 0 while probing success. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-sirf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-sirf.c b/drivers/pinctrl/pinctrl-sirf.c
index 7fca6ce5952..53aa6e25c7a 100644
--- a/drivers/pinctrl/pinctrl-sirf.c
+++ b/drivers/pinctrl/pinctrl-sirf.c
@@ -1670,6 +1670,8 @@ static int __devinit sirfsoc_gpio_probe(struct device_node *np)
irq_set_handler_data(bank->parent_irq, bank);
}
+ return 0;
+
out:
iounmap(regs);
return err;