phy: phy-rockchip-inno-usb2: simplify getting match data
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 22 May 2023 17:03:23 +0000 (19:03 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 12 Jul 2023 16:57:41 +0000 (22:27 +0530)
commit89e1570ad2121d4a5d5796e9f75ae3b0fdf73bf6
treefff3977ad05b641063295fd21d3ac850d4668ea3
parentb43511233c6e34b9c0d9a55e41b078d10e7d9ea6
phy: phy-rockchip-inno-usb2: simplify getting match data

Simplify the code by directly getting the match data via
device_get_match_data() instead of open coding its functionality.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230522170324.61349-7-sebastian.reichel@collabora.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c