net: dsa: lan9303: Renamed indirect phy access functions
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Sun, 30 Jul 2017 17:58:55 +0000 (19:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 02:23:29 +0000 (19:23 -0700)
commit9e866e5dab383a295001b13f08e42b906b9dd34d
tree8b5fe4c8184566e524bd5d9b7c9ceb8f71e85a1b
parentab78acb152e3f0ded13a13fd27df46448d34a4b7
net: dsa: lan9303: Renamed indirect phy access functions

Preparing for the following fix of MDIO phy access:

Renamed functions that access PHY 1 and 2 indirectly through PMI
registers.

 lan9303_port_phy_reg_wait_for_completion() to
 lan9303_indirect_phy_wait_for_completion()

 lan9303_port_phy_reg_read() to
 lan9303_indirect_phy_read()

 lan9303_port_phy_reg_write() to
 lan9303_indirect_phy_write()

Also changed "val" parameter of lan9303_indirect_phy_write() to u16,
for clarity.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c