]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: qcom-smd: make smd_vreg_rpm static
authorMin-Hua Chen <minhuadotchen@gmail.com>
Thu, 26 Sep 2024 23:10:36 +0000 (07:10 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:11:44 +0000 (01:11 +0200)
commit18be43aca2c0ec475037923a8086d0a29fcc9d16
treed5bde6507806170b81764c8dfceba129080532b2
parent7368e9f4e25bea507895bf194bd1c72d693840b2
regulator: qcom-smd: make smd_vreg_rpm static

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@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patch.msgid.link/20240926231038.31916-1-minhuadotchen@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom_smd-regulator.c