arch: mips: generic: Add missing of_node_put() in board-ranchu.c
authorLiang He <windhl@126.com>
Wed, 15 Jun 2022 14:11:23 +0000 (22:11 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 21 Jun 2022 15:04:30 +0000 (17:04 +0200)
commit4becf6417bbdc293734a590fe4ed38437bbcea2c
tree64bf82709575a7f4a191f7473735542da1ad53ba
parentc81aba8fde2aee4f5778ebab3a1d51bd2ef48e4c
arch: mips: generic: Add missing of_node_put() in board-ranchu.c

In ranchu_measure_hpt_freq(), of_find_compatible_node() will return
a node pointer with refcount incremented. We should use of_put_node()
when it is not used anymore.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/generic/board-ranchu.c