thermal/drivers/sun8i: Convert to use macro
authorYangtao Li <frank.li@vivo.com>
Mon, 23 Jan 2023 10:23:19 +0000 (18:23 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 24 Jan 2023 10:43:22 +0000 (11:43 +0100)
commitd69e7041a39c24de8c935b82c1edae6490be5b4d
treeb957763afb205da2231d6823302df8b5f8d97fa6
parentf8887fdcf2a7da2d05de95a81ec35571f2323c2e
thermal/drivers/sun8i: Convert to use macro

Use TEMP_CALIB_MASK macro instead of raw number.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Link: https://lore.kernel.org/r/20230123102319.37710-1-frank.li@vivo.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/sun8i_thermal.c