[PATCH net-next v2 13/13] net: bcmasp: Simplify with __free()
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Wed Aug 28 05:53:30 PDT 2024
On Wed, 28 Aug 2024 11:23:43 +0800
Jinjie Ruan <ruanjinjie at huawei.com> wrote:
> Avoid need to manually handle of_node_put() by using __free(), which
> can simplfy code.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
Longer term I'd prefer to see a lot of this stuff replaced
with firmware independent calls from property.h but in meantime
these are nice cleanup.
More information about the linux-arm-kernel
mailing list