Wei Yongjun 155d940a78 sfc: fix return value check in efx_ptp_probe_channel()
In case of error, the function ptp_clock_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 <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-08 13:13:30 -07:00
..
2013-03-17 14:26:40 -04:00
2013-03-07 20:22:15 +00:00
2013-03-07 20:22:04 +00:00
2012-12-01 00:26:11 +00:00
2013-03-18 10:50:23 +01:00
2012-10-02 01:58:40 +01:00
2013-03-17 14:26:40 -04:00
2012-09-19 02:54:12 +01:00