clk: cdce925: release child device nodes
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 21 Aug 2018 21:05:32 +0000 (00:05 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 30 Aug 2018 22:19:16 +0000 (15:19 -0700)
commit0b85de7cef013eeaf5cc873f0fd127ccfc2413be
treedd639645ba54d3e66ce2fdbb52382a0dfecb3af5
parent681cd4a890e394b91b0b5df0d7f6095d3ae83193
clk: cdce925: release child device nodes

of_get_child_by_name() returns device node with refcount incremented,
but there is no decrement in cdce925_probe(). The patch adds one.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-cdce925.c