thermal: mtk_thermal: make device_reset optional
authorFabien Parent <fparent@baylibre.com>
Wed, 21 Oct 2020 16:42:31 +0000 (18:42 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 27 Oct 2020 10:19:18 +0000 (11:19 +0100)
commit703456ba76e9449b5ade6597c04a90ee3421cd94
treea0972ace346dd35820d72f871b8497951bdc2ddd
parentc707f973df1706020f4a4669b5f1932e90c0f29c
thermal: mtk_thermal: make device_reset optional

MT8516 does not support thermal reset. Use device_reset_optional
instead of device_reset.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201021164231.3029956-3-fparent@baylibre.com
drivers/thermal/mtk_thermal.c