]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: add macros for PHYID matching
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 9 Nov 2018 23:39:14 +0000 (00:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:47:17 +0000 (12:47 +0100)
commitd1e6bbd9d77163013d01827a18e593a271ea9d6a
tree6ad24b9d29daf2a276861824dd293d2eb7799e12
parent00d9e212b8a39e6ffcf31b9d2e503d2bf6009d45
net: phy: add macros for PHYID matching

[ Upstream commit aa2af2eb447c9a21c8c9e8d2336672bb620cf900 ]

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>
Stable-dep-of: 69ff53e4a4c9 ("net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/phy.h