net: phy: marvell: Refactor m88e1121 RGMII delay configuration
authorAndrew Lunn <andrew@lunn.ch>
Sun, 30 Jul 2017 20:41:48 +0000 (22:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Aug 2017 01:00:23 +0000 (18:00 -0700)
commit864dc729d528560e8d204267d66dae59972f462c
tree11db6e66dc73211e193bc0cad9bd70a2356a0938
parent865b813aa273cd411066d05c47154d5d1490eac7
net: phy: marvell: Refactor m88e1121 RGMII delay configuration

Turns out that MII_M1116R_CONTROL_REG_MAC is the same as
MII_88E1121_PHY_MSCR_REG. Refactor the code to set the RGMII delays
into a shared helper.

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