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)
commit6ef05eb73c8f623aec11449c9c763f19fb8a8fb1
tree6995f43e857b9797d07ac67ff59d257cdfe2f079
parentfecd5e910ebed27fa68c34bf7ecc300a12950897
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