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>
This commit is contained in:
Barry Song 2012-09-27 17:53:39 +08:00 committed by Linus Walleij
parent 7d66ce7f8c
commit ea5363663f

View 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;