]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: Refactor setting downshift into a helper
authorAndrew Lunn <andrew@lunn.ch>
Sun, 30 Jul 2017 20:41:50 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 01:00:23 +0000 (18:00 -0700)
commit38a40ab5c7fc04ca1ccc5cc950c602a93357fe69
tree6995f43e857b9797d07ac67ff59d257cdfe2f079
parentda42809d173ea0e7331c79a9d1948f875df835d8
net: phy: marvell: Refactor setting downshift into a helper

The 1116r has code to set downshift. Refactor this into a helper, so
in future other marvell PHYs can use it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c