On Thu, Mar 27, 2025 at 12:35:02AM +0100, Christian Marangi wrote:
Simplify .match_phy_device OP by using a generic function and using the
new phy_id PHY driver info instead of hardcoding the matching PHY ID.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
drivers/net/phy/bcm87xx.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
Great! Less code! :)
Reviewed-by: Russell King (Oracle) <redacted>
Thanks!
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!