commit | ac97a359b72d340e1c04083451b1c6d2f41eb317 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Tue Apr 30 01:55:24 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 01 14:29:35 2019 -0400 |
tree | 3ec76db974b912867e56031f4ec13567d1aff07d | |
parent | 5b27aafa1ea011201625f5bcec62c791c59561bf [diff] |
net: ethernet: ti: cpsw: Fix inconsistent IS_ERR and PTR_ERR in cpsw_probe() 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@huawei.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>