Re: [PATCH] regulator: qcom-smd: make smd_vreg_rpm static

From: Dmitry Baryshkov
Date: Thu Sep 26 2024 - 19:27:26 EST


On Fri, Sep 27, 2024 at 07:10:36AM GMT, Min-Hua Chen wrote:
> Since smd_vreg_rpm is used only in
> drivers/regulator/qcom_smd-regulator.c, make it static and fix the
> following sparse warning:
>
> drivers/regulator/qcom_smd-regulator.c:14:21: sparse: warning:
> symbol 'smd_vreg_rpm' was not declared. Should it be static?
>
> No functional changes intended.
>
> Fixes: 5df3b41bd6b5 ("regulator: qcom_smd: Keep one rpm handle for all vregs")
> Signed-off-by: Min-Hua Chen <minhuadotchen@xxxxxxxxx>
> ---
> drivers/regulator/qcom_smd-regulator.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry