thermal/drivers/tsens: Drop unnecessary hw_ids
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 Jan 2023 19:40:18 +0000 (21:40 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 16 Jan 2023 10:22:30 +0000 (11:22 +0100)
commitca7b70b19e84ab58a91c603a0843ec1c3ad6d2db
tree6df5e966d5ab9fac6d4a640c64e4a0e11f9e2ce3
parentacd31b9f225bc28ee1e21619ee8a0b8921b85767
thermal/drivers/tsens: Drop unnecessary hw_ids

The tsens driver defaults to using hw_id equal to the index of the
sensor. Thus it is superfluous to declare such hw_id arrays. Drop such
arrays from mdm9607 and msm8976 data.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-5-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/tsens-v0_1.c
drivers/thermal/qcom/tsens-v1.c