Skip to content

Commit

Permalink
net: phy: marvell: refactor HWMON OOP style
Browse files Browse the repository at this point in the history
Use a structure of Marvell PHY specific HWMON methods to reduce code
duplication. Store a pointer to this structure into the PHY driver's
driver_data member.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
elkablo authored and davem330 committed Apr 20, 2021
1 parent 56e2e5d commit 41d26bf
Showing 1 changed file with 125 additions and 244 deletions.
Loading

0 comments on commit 41d26bf

Please sign in to comment.