]> 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)
commit5b7d181f95e5c2859777bb4670d65eb23d5ec79b
tree2ba4ab3ac61887efe165a67bc58b5ef8d073d0e6
parent59a2143c61501cf4cd938a08ee29430d40e8c308
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