Re: [PATCH 02/10] Input: mtk-pmic-keys - switch to for_each_child_of_node_scoped
From: Dmitry Torokhov
Date: Sun Oct 20 2024 - 00:00:14 EST
On Thu, Oct 10, 2024 at 11:25:52PM +0200, Javier Carrasco wrote:
> Use the scoped variant of the macro to simplify the code and error
> handling. This makes the error handling more robust by ensuring that
> the child node is always freed.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
Applied, thank you.
--
Dmitry