Skip to content
Commit 41d26bf4 authored by Marek Behún's avatar Marek Behún Committed by David S. Miller
Browse files

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: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56e2e5de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment