Re: [PATCH v5] powerpc:85xx: Add missing of_node_put() in sgy_cst1000

2022-09-09 Thread Michael Ellerman
On Fri, 17 Jun 2022 18:50:11 +0800, Liang He wrote: > In gpio_halt_probe(), of_find_matching_node() will return a node > pointer with refcount incremented. We should use of_node_put() in > fail path or when it is not used anymore. > > Applied to powerpc/next. [1/1] powerpc:85xx: Add missing of_

[PATCH v5] powerpc:85xx: Add missing of_node_put() in sgy_cst1000

2022-06-17 Thread Liang He
In gpio_halt_probe(), of_find_matching_node() will return a node pointer with refcount incremented. We should use of_node_put() in fail path or when it is not used anymore. Signed-off-by: Liang He --- changelog: v5: fix 'gotot' error introduced by v4 and use cross-compiler to test v4: reuse e