Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
leds: ktd2692: Add missing of_node_put
The refcount of device_node increases after of_node_get() is called. So, a break out of the loop requires of_node_put(). This patch adds missing of_node_put() when loop breaks. Signed-off-by: Ingi Kim <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Jacek Anaszewski <[email protected]>
- Loading branch information