]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
phy: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Wed, 17 Sep 2025 13:29:50 +0000 (09:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2025 08:58:54 +0000 (10:58 +0200)
commitaea48dce64c4aa4b46f0ccd6aa49acc80a6ad925
treec6ce4dc7c0d83ab5c14f295e496b1a2eb8573601
parente07821a2d14f0986506bafd2a1686934d9d56c40
phy: Use device_get_match_data()

[ Upstream commit 21bf6fc47a1e45031ba8a7084343b7cfd09ed1d3 ]

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20231009172923.2457844-15-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Stable-dep-of: 64961557efa1 ("phy: ti: omap-usb2: fix device leak at unbind")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/broadcom/phy-bcm-ns-usb3.c
drivers/phy/marvell/phy-berlin-usb.c
drivers/phy/ralink/phy-ralink-usb.c
drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-usb.c
drivers/phy/ti/phy-omap-control.c
drivers/phy/ti/phy-omap-usb2.c
drivers/phy/ti/phy-ti-pipe3.c