Re: [PATCH 1/3] of: Add a helper to free property struct
From: Jonathan Cameron
Date: Sat Apr 06 2024 - 12:48:02 EST
On Thu, 04 Apr 2024 09:15:10 -0500
Rob Herring <robh@xxxxxxxxxx> wrote:
> Freeing a property struct is 3 kfree()'s which is duplicated in multiple
> spots. Add a helper, __of_prop_free(), and replace all the open coded
> cases in the DT code.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>