soc: qcom: rpmhpd: Don't warn about sparse rpmhpd arrays
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 26 Apr 2022 23:35:07 +0000 (16:35 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 28 Apr 2022 19:19:57 +0000 (14:19 -0500)
commitaf77132e9d2bc8ca477003fef15e2c677ae958b1
treec9499afe0c80229d21810d828009d055e18f350c
parentdbfb5f94e084287f0a3f23d14ef6692c43c98855
soc: qcom: rpmhpd: Don't warn about sparse rpmhpd arrays

In some cases the DT binding will fully describe the set of available
RPMh power-domains, but there is no reason for exposing them all in the
implementation.

Omitting individual data->domains is handle gracefully by
of_genpd_add_provider_onecell(), so there's no reason for printing a
warning when this occurs.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20220426233508.1762345-3-bjorn.andersson@linaro.org
drivers/soc/qcom/rpmhpd.c