Re: [PATCH] thermal: mediatek: Fix some leaks in mtk_thermal_probe

From: Miles Chen
Date: Tue Mar 08 2022 - 00:37:03 EST


Hi Miaoqian,

> If an error occurs after a successful 'of_iomap()' call, it must be undone
> by a corresponding 'iounmap()' call
>
> Fixes: 89945047b166 ("thermal: mediatek: Add tsensor support for V2 thermal system")
> Signed-off-by: Miaoqian Lin <linmq006@xxxxxxxxx>
>

Thanks for fixing this.

Reviewed-by: Miles Chen <miles.chen@xxxxxxxxxxxx>


Thanks,
Miles