interconnect: qcom: rpm: Use _optional func for provider clocks
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 10 Dec 2022 20:03:52 +0000 (21:03 +0100)
committerGeorgi Djakov <djakov@kernel.org>
Thu, 5 Jan 2023 15:29:57 +0000 (17:29 +0200)
commitdd42ec8ea5b979edcebbf0ba05807d866884b567
tree228adb173ba16134890296613981f5ce998e64b7
parent4be39d5d86c690c60e2afe55787fc5ec4409d0f0
interconnect: qcom: rpm: Use _optional func for provider clocks

It turned out that - very unfortunately - msm8996 needs a binding
update, adding 2 more clocks to the A2NoC node. Use the _optional
variant of devm_clk_get to make sure old DTs will still probe with
newer versions of the driver.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> #db820c
Link: https://lore.kernel.org/r/20221210200353.418391-5-konrad.dybcio@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/icc-rpm.c