diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-06-04 14:44:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 19:54:08 (GMT) |
commit | 29ddae2a40883640941932f73eb3d15535c3f4a2 (patch) | |
tree | 9d26271f7af9fcb6d9ce80cd39936c126c860820 /drivers/char | |
parent | f7b41276b6b07f47c5f5212fa244385b0e3aaa30 (diff) | |
download | linux-29ddae2a40883640941932f73eb3d15535c3f4a2.tar.xz |
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