]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e2ccb964b477f5007577d27a89c9af936116230
tree64bf82709575a7f4a191f7473735542da1ad53ba
parent2e8f958c6bd9db46cb911bfca2dd988754473734
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