]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: use same macros to get active slave
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Sat, 10 Dec 2016 12:23:46 +0000 (14:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Dec 2016 22:29:47 +0000 (17:29 -0500)
commit0bd0f4d9cb5e4176a85ba98a9af49314bbeeff05
tree5357e2b7a877ec04a71568d68b262c914594daf3
parent1522bd6084c2706c7477f1259dcaf3085a1024c9
net: ethernet: ti: cpsw: use same macros to get active slave

Use the same, more convenient macros, to get active slave.

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