bus: ti-sysc: Fix refcount leak bugs

In sysc_init_stdout_path(), there is only one of_node_put() for the
second of_find_node_by_path(). However, we need to add one of_node_put()
for the first of_find_node_by_path().

In sysc_init_static_data(), we need one of_node_put() for the
of_find_node_by_path() to keep refcount balance.

Signed-off-by: Liang He <windhl@126.com>
Message-Id: <20220620145619.4074665-1-windhl@126.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
1 file changed