Skip to content

Commit 41d26bf

Browse files
elkablodavem330
authored andcommitted
net: phy: marvell: refactor HWMON OOP style
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 56e2e5d commit 41d26bf

File tree

1 file changed

+125
-244
lines changed

1 file changed

+125
-244
lines changed

0 commit comments

Comments
 (0)