i2c: pnx: fix error return code in i2c_pnx_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 23 Aug 2013 02:55:51 +0000 (10:55 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 28 Aug 2013 08:31:33 +0000 (10:31 +0200)
Fix to return a negative error code in the irq get error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
[wsa: fixed wrong exit point, too]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

No differences found