]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: clean up mmd_phy_indirect()
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Mar 2017 16:37:08 +0000 (16:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:43:00 +0000 (12:43 -0700)
commit310568c31ba74bf6768767970b0532a54b651323
tree2ba4ab3ac61887efe165a67bc58b5ef8d073d0e6
parent5ac6fcb431a89b19bd201a154331f591bb914e57
net: phy: clean up mmd_phy_indirect()

Make mmd_phy_indirect() use the same terminology as the rest of the
code, making clear what each address is - phy address, devad, and
register number.

While here, remove the "inline" from this static function, leaving
it to the compiler to decide whether to inline this function, and
get rid of unnecessary parens.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy-core.c