staging: slicoss: fix error return code in slic_entry_probe()
commit1154eb51e7fe682153ad21c5ddde51fc5d8d84e9
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 May 2013 06:04:58 +0000 (13 14:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 22:02:28 +0000 (13 18:02 -0400)
tree5d9a30603753f617afd30d3bd9d7794f742c20de
parentd398f56ed7ddf8a2f3ffdd15323bc31296d14c5d
staging: slicoss: fix error return code in slic_entry_probe()

Fix to return a negative error code from the 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/staging/slicoss/slicoss.c