diff options
author | Egil Hjelmeland <privat@egil-hjelmeland.no> | 2017-07-30 20:58:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-31 05:23:29 +0300 |
commit | 9e866e5dab383a295001b13f08e42b906b9dd34d (patch) | |
tree | 8b5fe4c8184566e524bd5d9b7c9ceb8f71e85a1b /drivers/net/dsa/lan9303_i2c.c | |
parent | ab78acb152e3f0ded13a13fd27df46448d34a4b7 (diff) | |
download | linux-9e866e5dab383a295001b13f08e42b906b9dd34d.tar.xz |
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>
Diffstat (limited to 'drivers/net/dsa/lan9303_i2c.c')
0 files changed, 0 insertions, 0 deletions