[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZpXHRPLJOMJ-K2jb@google.com>
Date: Mon, 15 Jul 2024 18:05:08 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/6] input: use device_for_each_child_node_scoped()
On Fri, Apr 12, 2024 at 10:57:29PM +0200, Javier Carrasco wrote:
> Switch to the _scoped() version introduced in commit 365130fd47af
> ("device property: Introduce device_for_each_child_node_scoped()")
> to remove the need for manual calling of fwnode_handle_put() in the
> paths where the code exits the loop early. This modification simplifies
> the code and eliminates the risk of leaking memory if any early exit is
> added without de-allocating the child node.
>
> There are six users of the non-scoped version in the input subsystem:
>
> - iqs269a
> - qt1050
> - gpio_keys
> - gpio_keys_polled
> - adc-keys
> - adc-joystick
>
> This series is based on the master branch of linux-next (next-20240412)
> to have access to the scoped version of device_for_each_child_node().
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
Applied the series (after adjusting qt1050 patch), thank you.
--
Dmitry
Powered by blists - more mailing lists