clk: Use of_device_get_match_data()
authorMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
Thu, 3 Mar 2022 01:48:56 +0000 (01:48 +0000)
committerStephen Boyd <sboyd@kernel.org>
Sat, 12 Mar 2022 03:23:30 +0000 (19:23 -0800)
commitcde8e3ae3d374bf7826d87bcb6b28fb334dcaf82
tree4f90872500a13c9abd1843598d1e89cff02e0bd9
parent09e3b18ca5def4680b65d60159e595dbbcf7743f
clk: 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/20220303014856.2059307-1-chi.minghao@zte.com.cn
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-oxnas.c