Commit 31e4d152 authored by Rob Herring's avatar Rob Herring Committed by Greg Kroah-Hartman
Browse files

phy: Use device_get_match_data()



[ Upstream commit 21bf6fc4 ]

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: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20231009172923.2457844-15-robh@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Stable-dep-of: 64961557 ("phy: ti: omap-usb2: fix device leak at unbind")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a493f40e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment