clk: test: Switch to clk_hw_get_clk
authorMaxime Ripard <maxime@cerno.tech>
Tue, 16 Aug 2022 11:25:06 +0000 (13:25 +0200)
committerStephen Boyd <sboyd@kernel.org>
Thu, 15 Sep 2022 16:29:50 +0000 (09:29 -0700)
commitaac00c7fa1149fd5b5a5110096ffa78dcb120b79
treeecbb457116d7cf5a7f8abf984f6589ea99d1304e
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
clk: test: Switch to clk_hw_get_clk

Following the clk_hw->clk pointer is equivalent to calling
clk_hw_get_clk(), but will make the job harder if we need to rework that
part in the future.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220816112530.1837489-2-maxime@cerno.tech
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk_test.c