phy/rockchip: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Thu, 3 Mar 2022 01:44:06 +0000 (01:44 +0000)
committerVinod Koul <vkoul@kernel.org>
Wed, 13 Apr 2022 09:53:23 +0000 (15:23 +0530)
commit3eb836df4da779c0e42946b02b1cc61dbf7e8622
treef04dee2441b4334530ac5705b75d23a176512837
parent8585b1be79528cabc86164530dbd3326d38623cf
phy/rockchip: Use of_device_get_match_data()

Use of_device_get_match_data() to simplify the code.

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/20220303014406.2059140-1-chi.minghao@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-dphy-rx0.c