commit | 498c0146213aa5fbca3b63a6525e91c606c20c5e | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri Aug 23 10:55:51 2013 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Aug 28 10:31:33 2013 +0200 |
tree | d0a90c696b233fee2cffdacbbb6d016adaaf9f84 | |
parent | 370257b287a3959f1d12398b51fb0c50063b4ca8 [diff] |
i2c: pnx: fix error return code in i2c_pnx_probe() 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>