clk: qcom: rpmh: rename ARC clock data
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 2 Dec 2022 18:58:41 +0000 (20:58 +0200)
committerBjorn Andersson <andersson@kernel.org>
Fri, 2 Dec 2022 19:59:26 +0000 (13:59 -0600)
commit166eb3eb3bb394255a9a8aa4cadbba5567ba184a
treec129579c0375d5ed5bfa0e46ad23d7c4209c4fac
parent49e4aa233c6c239f814e8872d6757455e49e8106
clk: qcom: rpmh: rename ARC clock data

RPMH ARC clocks are frequently shared between several platforms. It
makes little sense to encode the SoC name into the clock name, if the
same clock is used for other SoCs.

Rework the ARC clock definitions to remove the SoC name. Keep the
userspace-visible clock name, but encode the divider into the variable
name. This also makes it obvious which divider is used by the platform,
making the code less error-prone.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221202185843.721673-7-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-rpmh.c