From: YueHaibing <yuehaib...@huawei.com> Date: Tue, 30 Apr 2019 01:55:24 +0000
> Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe, > The proper pointer to use is clk instead of mode. > > This issue was detected with the help of Coccinelle. > > Fixes: 83a8471ba255 ("net: ethernet: ti: cpsw: refactor probe to group common > hw initialization") > Signed-off-by: YueHaibing <yuehaib...@huawei.com> > Reviewed-by: Andrew Lunn <and...@lunn.ch> > --- > v3: Fix commit log > v2: add Fixes tag Applied.