aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-10-25 21:55:42 +0800
committerZhang Rui <[email protected]>2013-11-06 13:16:49 +0800
commit73b9bcd76d13716cc0e0ab053f8c1ae41f47636e (patch)
treef35e989f059b5846d845045f9945bcf9d01a992c /net/lapb/lapb_out.c
parent732e4c8db99cb3125bd6865794ec8e3a998c4d6e (diff)
thermal: cpu_cooling: fix return value check in cpufreq_cooling_register()
In case of error, the function thermal_cooling_device_register() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions