i2c: imx: propagate irq error code in probe
authorWolfram Sang <wsa@the-dreams.de>
Thu, 12 Dec 2013 21:51:31 +0000 (22:51 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 3 Jan 2014 16:40:38 +0000 (17:40 +0100)
commita8763f33c55b74c26e4532e1893d2dcf6d038abe
tree9203860c60c73feb4278b1af894de73b29644b31
parent61f4d6b42158a836a008711a71b68cc78b0624aa
i2c: imx: propagate irq error code in probe

smatch rightfully says:
drivers/i2c/busses/i2c-imx.c:610 i2c_imx_probe() info: why not propagate 'irq' from platform_get_irq() instead of (-2)?

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c