]> Pileus Git - ~andy/linux/commit
mfd: ucb1x00-core: Fix error return code in ucb1x00_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 11 Sep 2013 11:20:37 +0000 (19:20 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:20:49 +0000 (16:20 +0100)
commit18fefda9ee13e377cf6c5542818b7be066972843
tree91532db88c1ef72a59605ed9574755821d47f854
parent1a54b7dabf8f20df2894aed9683155ff89fc20e8
mfd: ucb1x00-core: Fix error return code in ucb1x00_probe()

Fix to return a negative error code in the irq 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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ucb1x00-core.c