]> 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)
commitcb30be257cc3e516cc3d91b30c22d16f7c5d117c
tree5357e2b7a877ec04a71568d68b262c914594daf3
parentcc96b41cdd27ea3f334cf56499cf20e546e61476
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