commit | 77e7915b15bba2bf6edec6f258fb4158fef8e416 | [log] [tgz] |
---|---|---|
author | Ingi Kim <ingi2.kim@samsung.com> | Mon Nov 16 15:19:55 2015 +0100 |
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | Mon Jan 04 09:57:37 2016 +0100 |
tree | cb286ca051256b346943c72f7aa2a92c5f28604a | |
parent | f16703360da7731a057df2ffa902306819c22398 [diff] |
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 <ingi2.kim@samsung.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>