thermal: sun8i: Fix r40 ths number
authorYangtao Li <tiny.windzz@gmail.com>
Mon, 6 Jan 2020 17:46:38 +0000 (17:46 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 10:41:08 +0000 (11:41 +0100)
commitd8186285f1fdbc847af75dfeaa4fcc574753c97c
tree53baf817c431437b074d29c92459ae0d1a92cbd0
parentca07ee4e3de468582e9a370ccfad3e4cf83b5268
thermal: sun8i: Fix r40 ths number

According to the spec, r40 has 2 thermal sensors.
Sensor0 located in the CPU, another in the GPU.

Fixes: dccc5c3b6f30f ("thermal/drivers/sun8i: Add thermal driver for H6/H5/H3/A64/A83T/R40")
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-on: sun8i-r40-bananapi-m2-ultra
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200106174639.20862-1-tiny.windzz@gmail.com
drivers/thermal/sun8i_thermal.c