Wei Yongjun df555b6653 netdev: octeon: fix return value check in octeon_mgmt_init_phy()
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-28 01:18:32 -04:00
..
2012-07-24 13:54:16 -07:00
2012-09-21 12:54:53 +02:00
2012-08-03 20:32:31 -07:00
2012-09-01 22:44:13 -04:00
2012-09-27 13:18:19 -04:00
2012-03-27 22:45:26 -04:00
2012-08-09 16:16:14 -07:00