On Thu, 04 Apr 2024 09:15:11 -0500 Rob Herring <robh@xxxxxxxxxx> wrote: > Use the relatively new scope based kfree() cleanup to simplify error > handling. Doing so reduces the chances of memory leaks and simplifies > error paths by avoiding the need for goto statements. > > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>