]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: iqs269a - use device_for_each_child_node_scoped()
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>
Fri, 12 Apr 2024 20:57:30 +0000 (22:57 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 15 Jul 2024 23:45:52 +0000 (16:45 -0700)
commit4256d472010e742a1ff7558d02ed867d378695d9
tree36b2748bff2293d78247a28213c545e63e9fc9f4
parent3daee2e4b3568f0ed88b0598df96547fcf21cb9b
Input: iqs269a - use device_for_each_child_node_scoped()

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.

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240412-input_device_for_each_child_node_scoped-v1-1-dbad1bc7ea84@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/iqs269a.c