OSDN Git Service

net: phy: bcm54140: use phy_package_shared
authorMichael Walle <michael@walle.cc>
Wed, 6 May 2020 14:53:14 +0000 (16:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:53:29 +0000 (14:53 -0700)
commitdc9989f173289f376d06cb289ae0bd46c6ac8017
tree35721dd0d5d79e347bf94db3c20682882b8f70d2
parent6349084746ff4f5f7ebc748e4b2a890f8c57b129
net: phy: bcm54140: use phy_package_shared

Use the new phy_package_shared common storage to ease the package
initialization and to access the global registers.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm54140.c