staging: xillybus: fix error return code in xilly_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 16 Dec 2013 05:51:16 +0000 (13:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:48:58 +0000 (09:48 -0800)
commit8eec4555511bfa1f8a2e0a2de45c988fd30c3efb
treece5fa853ce0b7321903011f0dbe665b60b87dcdd
parent17afd17bdd1d52f39364fc79ca35c037504a10cc
staging: xillybus: fix error return code in xilly_probe()

Fix to return negative error code -EIO from the error handling
case instead of 0.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_pcie.c