From: Wei Yongjun <weiyj...@163.com> Date: Tue, 19 Jul 2016 11:23:24 +0000
> From: Wei Yongjun <yongjun_...@trendmicro.com.cn> > > In case of error, the function of_parse_phandle() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value > check should be replaced with NULL test. > > Fixes: 46aa27df8853 ('net: axienet: Use devm_* calls') > Signed-off-by: Wei Yongjun <yongjun_...@trendmicro.com.cn> Applied.