commit | 29ddae2a40883640941932f73eb3d15535c3f4a2 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Jun 04 22:44:27 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 12:54:08 2013 -0700 |
tree | 9d26271f7af9fcb6d9ce80cd39936c126c860820 | |
parent | f7b41276b6b07f47c5f5212fa244385b0e3aaa30 [diff] |
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>