thermal/drivers/qcom/tsens: Fix wrong version id dbg_version_show
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 22 Oct 2022 12:56:56 +0000 (14:56 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:40 +0000 (15:25 +0100)
commitc7e077e921fa94e0c06c8d14af6c0504c8a5f4bd
treeff8d42ee5f8fd4436bbe872e92f17baf2361fe55
parentde48d8766afcd97d147699aaff78a338081c9973
thermal/drivers/qcom/tsens: Fix wrong version id dbg_version_show

For VER_0 the version was incorrectly reported as 0.1.0.

Fix that and correctly report the major version for this old tsens
revision.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Link: https://lore.kernel.org/r/20221022125657.22530-3-ansuelsmth@gmail.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/qcom/tsens.c