forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: call of_node_put() when breaking out of for_each_available_chil…
…d_of_node() Since for_each_available_child_of_node() will increase the refcount of node, we need to call of_node_put() manually when breaking out of the iteration. Fixes: 24e2d05 ("leds: Add driver for Qualcomm LPG") Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
- Loading branch information
1 parent
eb70814
commit 013aed0
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters