i2c: ismt: add error return code in probe()
authorWolfram Sang <wsa@the-dreams.de>
Fri, 23 Aug 2013 09:23:50 +0000 (11:23 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 28 Aug 2013 08:28:08 +0000 (10:28 +0200)
commit370257b287a3959f1d12398b51fb0c50063b4ca8
treec4138b7c09480503aa9c84aec01219406d152bee
parent7be60f2bfdd6c2c2c6273d2ff3ab6c81eec4a863
i2c: ismt: add error return code in probe()

Return error code in the error case, and not success.

Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ismt.c