]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 4 Aug 2021 09:18:18 +0000 (11:18 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 14 Aug 2021 10:49:05 +0000 (12:49 +0200)
commitfe85e2d07f1a01964b2eae96f9a24a2a9061d7b4
tree1a3862539da99af12f282b3824e9b3106fb67961
parenteff998bf5c3577a5ab499c8f897fe299f371ff9b
thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int

The TSC id and number of TSC ids should be stored as unsigned int as
they can't be negative. Fix the datatype of the loop counter 'i' and
rcar_gen3_thermal_tsc.id to reflect this.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210804091818.2196806-3-niklas.soderlund+renesas@ragnatech.se
drivers/thermal/rcar_gen3_thermal.c