# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/03/2988014
- Thread: https://ratatoskr.run/netdev/2025/03/2987482/t.md

```text
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!
```
