From: YueHaibing <yuehaibing@xxxxxxxxxx> 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 <yuehaibing@xxxxxxxxxx> > Reviewed-by: Andrew Lunn <andrew@xxxxxxx> > --- > v3: Fix commit log > v2: add Fixes tag Applied.