Searched hist:"234 c07400eb4f5d475e4055b11b5ed69f91d3732" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hwmon/ |
H A D | ltc2991.c | diff 234c07400eb4f5d475e4055b11b5ed69f91d3732 Thu Apr 04 13:13:27 CEST 2024 Javier Carrasco <javier.carrasco.cruz@gmail.com> hwmon: (ltc2991) 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/20240404-hwmon_device_for_each_child_node_scoped-v1-1-53997abde43c@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|