]> 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)
commite0b977714e9db51832a50401adf093bd07087cfd
tree64bf82709575a7f4a191f7473735542da1ad53ba
parent51f191c59592f818b8def704727c43091b39477e
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