thermal: stm32: simplify the return expression of stm_thermal_prepare()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 21 Sep 2020 13:11:07 +0000 (21:11 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Oct 2020 10:08:35 +0000 (12:08 +0200)
commitbe52a1963f8333a0ca1bba3d3c28e6332114432a
tree4e369119810774aacd35dafbd89d904e02020fbf
parentadfe9285bed09264bf99689c4a6e932f0134cdb1
thermal: stm32: simplify the return expression of stm_thermal_prepare()

Simplify the return expression.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200921131107.93273-1-miaoqinglang@huawei.com
drivers/thermal/st/stm_thermal.c