]> git.karo-electronics.de Git - karo-tx-linux.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)
commit060fbc894bf9ac8a226d63c5b0c8059a527155e2
tree2ba4ab3ac61887efe165a67bc58b5ef8d073d0e6
parent3b85d8df2655a4a5831ee8233108b53e69efa1ed
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