Re: [net-next RFC PATCH v3 2/4] net: phy: bcm87xx: simplify .match_phy_device OP

From
Russell King (Oracle) <linux@armlinux.org.uk>
Date
2025-03-27 11:08:26
Also in
linux-devicetree, lkml
Reply to
Christian Marangi, 2025-03-26
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!
Thread (14 messages) 14 messages, 3 authors, last reply 2025-03-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help