Add macros for PHYID matching to be used in PHY driver configs. By using these macros some boilerplate code can be avoided.
Use them initially in the Realtek PHY drivers. Heiner Kallweit (2): net: phy: add macros for PHYID matching net: phy: realtek: use new PHYID matching macros drivers/net/phy/realtek.c | 29 ++++++++++------------------- include/linux/phy.h | 4 ++++ 2 files changed, 14 insertions(+), 19 deletions(-) -- 2.19.1