[PATCH v3 6/6] thermal: sun8i: Use scoped device node handling to simplify error paths
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Tue Oct 8 05:26:19 PDT 2024
On Tue, 08 Oct 2024 11:00:06 +0200
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> wrote:
> Obtain the device node reference with scoped/cleanup.h to reduce error
> handling and make the code a bit simpler.
>
> Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
LGTM
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
I wonder if we will eventually get to the point where we might as well
use the scoped case for the few remaining instances where there
is no early exit and then end up dropping the unscoped one.
I guess we'll see. Keep up the good work dealing with all these!
Jonathan
More information about the linux-arm-kernel
mailing list