net: phy: gmii2rgmii: Dont use priv field in phy device
authorHarini Katakam <harini.katakam@xilinx.com>
Wed, 4 Sep 2019 14:00:21 +0000 (19:30 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:32:06 +0000 (12:32 +0200)
commit168f7a1616081832bcfd710c2b5eaeb848eacebb
tree945368660310b564a4ae72fde8229ef01fae97ab
parent36b1a2fcd0d263cec3d1a896386611195329af84
net: phy: gmii2rgmii: Dont use priv field in phy device

Use set/get drv data in phydev's mdio device instead. Phy device priv
field maybe used by the external phy driver and should not be
overwritten.

Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/xilinx_gmii2rgmii.c