phy/cadence: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Mon, 14 Feb 2022 02:06:26 +0000 (02:06 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 25 Feb 2022 08:28:12 +0000 (13:58 +0530)
commit10c573c61338d80c271f3579da22772c483d8a7a
tree61bbf981d98f5e480d7114c0f9482cd7e648d147
parent204642e7de220a009e02f386b652f02078422959
phy/cadence: Use of_device_get_match_data()

Use of_device_get_match_data() instead of open-coding it.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Link: https://lore.kernel.org/r/20220214020626.1714696-1-chi.minghao@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-salvo.c