Re: [PATCH net-next v2 13/13] net: bcmasp: Simplify with __free()
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Date: 2024-08-28 12:53:33
Also in:
linux-arm-kernel, linux-sunxi, lkml
From: Jonathan Cameron <Jonathan.Cameron@Huawei.com>
Date: 2024-08-28 12:53:33
Also in:
linux-arm-kernel, linux-sunxi, lkml
On Wed, 28 Aug 2024 11:23:43 +0800 Jinjie Ruan [off-list ref] wrote:
Avoid need to manually handle of_node_put() by using __free(), which can simplfy code. Signed-off-by: Jinjie Ruan <redacted>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@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.