thermal/drivers/k3_j72xx_bandgap: Use bool for i2128 erratum flag
authorBryan Brattlof <bb@ti.com>
Mon, 31 Oct 2022 23:26:53 +0000 (18:26 -0500)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 14 Dec 2022 14:25:40 +0000 (15:25 +0100)
commit311f328ffc7572219bee65db77645e5fedd4e8e6
tree39dacded5af7ff610553c4eed7736ed42697706e
parent46cab93ab49f303a7abbcf920cf9ef95d02a113c
thermal/drivers/k3_j72xx_bandgap: Use bool for i2128 erratum flag

Some of TI's J721E SoCs require a software trimming method to report
temperatures accurately. Currently we are using a few different data
types to indicate when we should apply the erratum.

Change the 'workaround_needed' variable's data type to a bool to align
with how we are using this variable currently.

Signed-off-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20221031232702.10339-3-bb@ti.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
drivers/thermal/k3_j72xx_bandgap.c