summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-06-04 22:44:27 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 12:54:08 -0700
commit29ddae2a40883640941932f73eb3d15535c3f4a2 (patch)
tree9d26271f7af9fcb6d9ce80cd39936c126c860820 /drivers/char
parentf7b41276b6b07f47c5f5212fa244385b0e3aaa30 (diff)
downloadlinux-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