aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2012-12-02 05:10:44 -0500
committerGreg Kroah-Hartman <[email protected]>2013-01-15 19:06:42 -0800
commita6dd114e16cbc4410049a90a8a67b967333d108d (patch)
tree13c19c17a03671d7188bfbe96243feb0f89a0fcd /net/lapb/lapb_iface.c
parent87b8bed2ce9394870a87e4fb2aef6752b2bd837d (diff)
tty: serial: vt8500: fix return value check in vt8500_serial_probe()
In case of error, function of_clk_get() 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]> Acked-by: Tony Prisk <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions