gpio-ml-ioh: fix error return code in ioh_gpio_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 21 May 2013 15:11:10 +0000 (23:11 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 May 2013 17:39:20 +0000 (19:39 +0200)
commitdf46dce09113ea0a52ce7403d35087e167f3a460
tree0d0ce0fbd2b9b71b54e7997fe90d4cbf91043241
parent611a485b5fac3a6dce32a1ae6ddd3e0df215aecd
gpio-ml-ioh: fix error return code in ioh_gpio_probe()

Fix to return a negative error code in the irq descs alloc error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ml-ioh.c