pinctrl: sirf: fix a typo in sirfsoc_gpio_probe
authorBarry Song <Baohua.Song@csr.com>
Thu, 27 Sep 2012 09:53:39 +0000 (17:53 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Sep 2012 07:27:34 +0000 (09:27 +0200)
Return 0 while probing success.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sirf.c

index 7fca6ce..53aa6e2 100644 (file)
@@ -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;