]> 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:55:01 +0000 (09:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:35:43 +0000 (13:35 +0200)
commit31e4d152fcb42a11453e725d53cb3225fcb1cace
tree83a9aa62ac2f2fdc5cedcf6e854da6e75e682689
parenta493f40e0ec6a988b4d8b2fec271ef7387275957
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