thermal: sun8i: Remove unused variable and unneeded macros
authorYangtao Li <tiny.windzz@gmail.com>
Sun, 12 Jan 2020 18:09:25 +0000 (18:09 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jan 2020 10:41:08 +0000 (11:41 +0100)
commit291292cddccaca99f48b4701121bcb1870e4f7ce
treebf6e68ca26181a5f661f87dbf7102902d67296e8
parent69d5f3a9c0c9044202db8793f34f0f0eb1e0302b
thermal: sun8i: Remove unused variable and unneeded macros

The cp_ft_flag variable is not used after initialization, so delete
it. After that, THS_EFUSE_CP_FT_MASK, THS_EFUSE_CP_FT_BIT and
THS_CALIBRATION_IN_FT are not needed, so delete them.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200112180925.23705-1-tiny.windzz@gmail.com
drivers/thermal/sun8i_thermal.c