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:
parent
7d66ce7f8c
commit
ea5363663f
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue