thermal: ti-bandgap: Fix adc value datatype
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 11 Nov 2019 09:45:30 +0000 (15:15 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
commit2695584a5c279a1c2b6245466b66cd3735f1f00f
treec3bc463d196c7ff8ee3b8c8e35bee4eddcabb82b
parentf7edbe012917f6b04692c0458d4d65875dd4299c
thermal: ti-bandgap: Fix adc value datatype

The CORE_TEMP_SENSOR_MPU register gives a raw adc value which needs to
be indexed into a lookup table to get the actual temperature. Fix the
naming and datatype of the adc value variable.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/thermal/ti-bandgap.c