A phy_id_mask value zero means every PHYID matches, therefore value zero isn't used. So we can safely redefine the semantics of value zero to mean "exact match". This allows to avoid some boilerplate code in PHY driver configs.
Realtek PHY driver is the first user of this change. Heiner Kallweit (2): net: phy: use phy_id_mask value zero for exact match net: phy: realtek: remove boilerplate code from PHY driver definitions drivers/net/phy/phy_device.c | 21 +++++++++++++++------ drivers/net/phy/realtek.c | 9 --------- include/linux/phy.h | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) -- 2.19.1
