diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-04 22:44:27 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 12:54:08 -0700 |
commit | 29ddae2a40883640941932f73eb3d15535c3f4a2 (patch) | |
tree | 9d26271f7af9fcb6d9ce80cd39936c126c860820 /drivers/char | |
parent | f7b41276b6b07f47c5f5212fa244385b0e3aaa30 (diff) | |
download | linux-29ddae2a40883640941932f73eb3d15535c3f4a2.tar.gz linux-29ddae2a40883640941932f73eb3d15535c3f4a2.tar.bz2 linux-29ddae2a40883640941932f73eb3d15535c3f4a2.zip |
pch_phub: fix error return code in pch_phub_probe()
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>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions