Re: [PATCH] thermal/drivers/tsens: make tsens_xxxx_nvmem static

From: Dmitry Baryshkov
Date: Thu Jul 13 2023 - 12:56:30 EST


On Thu, 13 Jul 2023 at 19:04, Min-Hua Chen <minhuadotchen@xxxxxxxxx> wrote:
>
> 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@xxxxxxxxx>

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

> ---
> drivers/thermal/qcom/tsens-v0_1.c | 6 +++---
> drivers/thermal/qcom/tsens-v1.c | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)



--
With best wishes
Dmitry