pch_phub: fix error return code in pch_phub_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 4 Jun 2013 14:44:27 +0000 (22:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:54:08 +0000 (12:54 -0700)
Error code had been assigned to retval in some error handling case
but never use it, 0 is always returned in those case, this patch
fix them to return a negative error code.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found