]> 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)
commita9c682bdbe425f8fabe72b7c31c112ec4d45068c
tree6995f43e857b9797d07ac67ff59d257cdfe2f079
parent44e03e5ba52f9108ab7cca698954f8b5eb137da3
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