Wei Yongjun 12c2e32f14 net: ethernet: bgmac: Fix return value check in bgmac_probe()
In case of error, the function devm_ioremap_resource() 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-11 19:48:10 -07:00
..
2016-07-09 00:02:08 -04:00
2015-06-10 23:33:58 -07:00
2015-02-20 15:46:49 -05:00
2015-10-12 19:33:46 -07:00
2015-10-11 05:06:21 -07:00
2014-06-25 16:27:27 -07:00
2014-06-25 16:27:27 -07:00