thermal/drivers/tsens: Make tsens_xxxx_nvmem static
authorMin-Hua Chen <minhuadotchen@gmail.com>
Thu, 13 Jul 2023 16:04:14 +0000 (00:04 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 16 Aug 2023 07:54:39 +0000 (09:54 +0200)
commit02cf5bcbd0a0283ecc13cceceeb43de45d79c85e
treea93bfa36c7d1ae567e126fed612572a82ead5377
parent4afcb58ea47e66c025d2b0a5f091dce5aaf95b0f
thermal/drivers/tsens: Make tsens_xxxx_nvmem static

This patch fixes the following sparse warnings:

drivers/thermal/qcom/tsens-v1.c:24:40: sparse: warning: symbol 'tsens_qcs404_nvmem' was not declared. Should it be static?
drivers/thermal/qcom/tsens-v0_1.c:26:40: sparse: warning: symbol 'tsens_8916_nvmem' was not declared. Should it be static?
drivers/thermal/qcom/tsens-v0_1.c:42:40: sparse: warning: symbol 'tsens_8974_nvmem' was not declared. Should it be static?
drivers/thermal/qcom/tsens-v0_1.c:64:40: sparse: warning: symbol 'tsens_8974_backup_nvmem' was not declared. Should it be static?

No functional change intended.

Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230713160415.149381-1-minhuadotchen@gmail.com
drivers/thermal/qcom/tsens-v0_1.c
drivers/thermal/qcom/tsens-v1.c