]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylib: ensure phy device drivers do not match by DT
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 7 Oct 2021 13:23:32 +0000 (14:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Oct 2021 14:21:25 +0000 (15:21 +0100)
commitb81660fdcb317c26b740584cc9190a8a388bc229
treead2e0338dc1961fcc02127b67be77059d34d89fc
parent39a07a7ed9956d92e5a2eae70fea81c70c933d1e
net: phylib: ensure phy device drivers do not match by DT

PHYLIB device drivers must match by either numerical PHY ID or by their
.match_phy_device method. Matching by DT is not permitted.

Link: https://lore.kernel.org/r/2b1dc053-8c9a-e3e4-b450-eecdfca3fe16@gmail.com
Tested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c