]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw_ethtool: simplify slave loops
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Tue, 11 Jun 2019 21:59:40 +0000 (00:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 01:45:53 +0000 (18:45 -0700)
commitab37ad96d8aaf0d5e02edb2a547afb3932c999f2
tree34cb540b747180ef796cd3b6ad6be1847c2cbc1e
parent9a16a391a4af4b88bc341548014f6fcc0e9ba200
net: ethernet: ti: cpsw_ethtool: simplify slave loops

Only for consistency reasons, do it like in main cpsw.c module
and use ndev reference but not by means of slave.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_ethtool.c