net: phy: add macros for PHYID matching
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 9 Nov 2018 23:39:14 +0000 (00:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2018 17:44:14 +0000 (09:44 -0800)
commitaa2af2eb447c9a21c8c9e8d2336672bb620cf900
tree2098f6928b9392c583df65747fc1d5e9aea2dcc0
parentfa28a2b244a90158319dcc3bc2e21970f32160e0
net: phy: add macros for PHYID matching

Add macros for PHYID matching to be used in PHY driver configs.
By using these macros some boilerplate code can be avoided.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h