ARM: EXYNOS: fix double of_node_put() on error path
The change removes the second of_node_put(), if for_each_compatible_node() body execution is not terminated. This prevents from object refcounter overflow over zero in OF_DYNAMIC build. Signed-off-by: NVladimir Zapolskiy <vz@mleia.com> Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Showing
想要评论请 注册 或 登录