Commit ea536366 authored by Barry Song's avatar Barry Song Committed by Linus Walleij

pinctrl: sirf: fix a typo in sirfsoc_gpio_probe

Return 0 while probing success.
Signed-off-by: default avatarBarry Song <Baohua.Song@csr.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 7d66ce7f
...@@ -1670,6 +1670,8 @@ static int __devinit sirfsoc_gpio_probe(struct device_node *np) ...@@ -1670,6 +1670,8 @@ static int __devinit sirfsoc_gpio_probe(struct device_node *np)
irq_set_handler_data(bank->parent_irq, bank); irq_set_handler_data(bank->parent_irq, bank);
} }
return 0;
out: out:
iounmap(regs); iounmap(regs);
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment