Wei Yongjun 269b7c5ff7 ag71xx: fix return value check in ag71xx_probe()
In case of error, the function of_get_mac_address() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: d51b6ce441d3 ("net: ethernet: add ag71xx driver")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-07-18 20:33:48 -07:00
..
2019-07-09 10:59:26 -07:00
2019-07-08 11:00:02 +02:00
2019-07-12 16:03:16 -07:00
2019-07-12 15:13:55 -07:00
2019-07-09 08:59:39 -07:00
2019-07-13 16:08:36 -07:00
2019-07-11 18:11:21 -07:00
2019-07-11 15:14:01 -07:00
2019-07-13 16:08:36 -07:00
2019-07-11 18:11:21 -07:00
2019-07-11 15:17:41 -07:00
2019-07-08 09:54:55 -07:00
2019-07-11 18:45:29 -07:00
2019-07-09 08:57:45 -07:00
2019-07-11 15:40:06 -07:00
2019-07-05 08:15:08 +02:00
2019-07-11 15:14:01 -07:00
2019-07-13 16:08:36 -07:00
2019-07-12 15:13:55 -07:00
2019-07-12 15:13:55 -07:00