aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorBarry Song <Baohua.Song@csr.com>2012-09-27 05:53:39 -0400
committerLinus Walleij <linus.walleij@linaro.org>2012-09-28 03:27:34 -0400
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 7fca6ce5952b..53aa6e25c7a2 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)
1670 irq_set_handler_data(bank->parent_irq, bank); 1670 irq_set_handler_data(bank->parent_irq, bank);
1671 } 1671 }
1672 1672
1673 return 0;
1674
1673out: 1675out:
1674 iounmap(regs); 1676 iounmap(regs);
1675 return err; 1677 return err;