[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241031161434.GK10824@google.com>
Date: Thu, 31 Oct 2024 16:14:34 +0000
From: Lee Jones <lee@...nel.org>
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: Pavel Machek <pavel@....cz>,
Patrick Rudolph <patrick.rudolph@...ements.com>,
Naresh Solanki <Naresh.Solanki@...ements.com>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] leds: max5970: use cleanup facility for
fwnode_handle led_node
On Sat, 19 Oct 2024, Javier Carrasco wrote:
> Add the automatic cleanup facility for 'led_node' to simplify the code
> and make it more robust against new error paths where omitting a call to
> fwnode_handle_put() would leak memory.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
> ---
> drivers/leds/leds-max5970.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)
This makes patch 1 completely pointless.
Please squash them and resubmit.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists