net: eepro100: Pass device private data into mdiobus
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 23 May 2020 15:55:50 +0000 (17:55 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:40 +0000 (19:34 +0200)
commit39daab23768895c32b82e153c21a7955ae7dacb8
treec9c8695efba6d155cd1d4b3d70d45910e19339df
parent389da9743c269a0c8536f4700c11c333a0309958
net: eepro100: Pass device private data into mdiobus

Instead of doing ethernet device lookup by name every time there
is an MDIO access, pass the driver private data via mdiobus priv
to the MDIO bus accessors.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
drivers/net/eepro100.c