Skip to content

Commit

Permalink
pinctrl: sirf: fix a typo in sirfsoc_gpio_probe
Browse files Browse the repository at this point in the history
Return 0 while probing success.

Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Barry Song authored and Linus Walleij committed Sep 28, 2012
1 parent 7d66ce7 commit ea53636
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/pinctrl/pinctrl-sirf.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit ea53636

Please sign in to comment.