net: dsa: mv88e6xxx: Rename _phy_ to _mdio_
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:17:05 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:54 +0000 (14:29 -0700)
commit03a4a5408b674576e8f7e54dd6ed86398217a98e
tree9a7ad1b076db937cb9df498df6f433b3ab92e8e9
parente755e49eb3ea925834006c294e989df52f592580
net: dsa: mv88e6xxx: Rename _phy_ to _mdio_

The switch implements a generic MDIO bus, which could host more than
PHYs. It is conventional to use _mdio_ or _mii_ in the function name,
so rename them. Also postfix make the historically first read/write
function with _direct, to help distinguish it from _indirect and _ppu.

While touching these functions, remove some of the _ prefixes, which
we are deprecating.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c