[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d90eb536-0608-4093-9e9d-643f8af6d1b0@lechnology.com>
Date: Sat, 20 Jul 2024 11:18:22 -0500
From: David Lechner <david@...hnology.com>
To: David Hunter <david.hunter.linux@...il.com>, mturquette@...libre.com,
sboyd@...nel.org, linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: julia.lawall@...ia.fr, skhan@...uxfoundation.org,
javier.carrasco.cruz@...il.com
Subject: Re: [PATCH] da8xx-cfgchip.c: replace of_node_put with __free improves
cleanup
On 7/20/24 10:24 AM, David Hunter wrote:
> The use of the __free function allows the cleanup to be based on scope
> instead of on another function called later. This makes the cleanup
> automatic and less susceptible to errors later.
>
> This code was compiled without errors or warnings.
>
> Signed-off-by: David Hunter <david.hunter.linux@...il.com>
> ---
Reviewed-by: David Lechner <david@...hnology.com>
Powered by blists - more mailing lists