]> asedeno.scripts.mit.edu Git - linux.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)
commit9126e75e39e14c357cfb2820abf0733bbc3cd8dc
tree34cb540b747180ef796cd3b6ad6be1847c2cbc1e
parentbfe59032bd6127ee190edb30be9381a01765b958
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