diff options
author | Barry Song <Baohua.Song@csr.com> | 2012-09-27 11:53:39 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-28 09:27:34 +0200 |
commit | ea5363663f33e4b1ec7fda1034f387b5edaf3d04 (patch) | |
tree | f7cf3fe1ea136fee88c21ae4c76367741e99e7a8 /drivers/pinctrl/pinctrl-sirf.c | |
parent | pinctrl: pinctrl-single: add debugfs pin h/w state info (diff) | |
download | linux-ea5363663f33e4b1ec7fda1034f387b5edaf3d04.tar.xz linux-ea5363663f33e4b1ec7fda1034f387b5edaf3d04.zip |
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/pinctrl-sirf.c')
-rw-r--r-- | drivers/pinctrl/pinctrl-sirf.c | 2 |
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) irq_set_handler_data(bank->parent_irq, bank); } + return 0; + out: iounmap(regs); return err; |