clk/rockchip: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Mon, 21 Feb 2022 02:01:03 +0000 (02:01 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 23 Feb 2022 22:59:27 +0000 (23:59 +0100)
commit9f565399ad0739dbdeac868e40e86e80f54dc77b
tree816708dd09e9c57c0fc1d5715bfa8eeed24ee949
parent6e69052f01d9131388cfcfaee929120118a267f4
clk/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/20220221020103.1925026-1-chi.minghao@zte.com.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3568.c