vme: vme_tsi148.c: fix error return code in tsi148_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 19 Jun 2013 02:42:35 +0000 (10:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 23:23:25 +0000 (16:23 -0700)
commit0686ab7a7d05cda3373e311a49b2478bd4f03c5d
treeb1eef9b7ae019f3cc2a7e740e254ba3950cd4dc6
parent4640a3f2bff64b808bdedadcddf882aa4606f374
vme: vme_tsi148.c: fix error return code in tsi148_probe()

Fix to return a negative error code in the tsi148_crcsr_init() 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/bridges/vme_tsi148.c