Commit 9b216717 authored by Jinjie Ruan's avatar Jinjie Ruan Committed by Lee Jones
Browse files

backlight: 88pm860x_bl: Simplify with scoped for each OF child loop



Use scoped for_each_child_of_node_scoped() when iterating over device
nodes to make code a bit simpler.

Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240822062546.3490076-1-ruanjinjie@huawei.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 0d580d99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment