[PATCH 02/10] Input: mtk-pmic-keys - switch to for_each_child_of_node_scoped

Dmitry Torokhov dmitry.torokhov at gmail.com
Sat Oct 19 21:00:03 PDT 2024


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 at gmail.com>

Applied, thank you.

-- 
Dmitry



More information about the linux-arm-kernel mailing list