phy/rockchip: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Fri, 4 Mar 2022 01:17:55 +0000 (01:17 +0000)
committerVinod Koul <vkoul@kernel.org>
Wed, 13 Apr 2022 09:53:23 +0000 (15:23 +0530)
commit2404387f521eda1d0eded58411bac2c719985d9c
treebbb21262bf800ecdf31abe94cb8503562d936680
parent3eb836df4da779c0e42946b02b1cc61dbf7e8622
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/20220304011755.2061529-1-chi.minghao@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/rockchip/phy-rockchip-typec.c