OSDN Git Service

clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 9 Dec 2022 16:48:50 +0000 (18:48 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 18:26:14 +0000 (12:26 -0600)
commitff2cd7401d24ab2d2f031cd9d275412cd669f33b
tree61d40e9f46e06f82655c127cb77ef88fe41468f1
parent786f8d18a8d91d98bd03c6ec41213cb52bcfc2cd
clk: qcom: smd-rpm: simplify XO_BUFFER clocks definitions

Remove the duplication between the names of the normal and active-only
XO_BUFFER and XO_BUFFER_PINCTRL clocks by using preprocessor logic to
add _a suffix.

Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221209164855.128798-15-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-smd-rpm.c