diff options
author | Liang He <windhl@126.com> | 2022-06-17 13:50:11 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-09-05 10:28:25 +0300 |
commit | 14b9e26c6c9a845c005087b9653459623a7d029b (patch) | |
tree | 869b804e17cbf40ee286847ab5aa44a837182f71 /arch/powerpc/platforms/maple | |
parent | 593d7b89c6a2bf7aea2324c94f10ef3c21308418 (diff) | |
download | linux-14b9e26c6c9a845c005087b9653459623a7d029b.tar.xz |
powerpc/85xx: Add missing of_node_put() in sgy_cst1000
In gpio_halt_probe(), of_find_matching_node() will return a node
pointer with refcount incremented. The reference should be dropped with
of_node_put() in the failure path.
Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220617105011.4041123-1-windhl@126.com
Diffstat (limited to 'arch/powerpc/platforms/maple')
0 files changed, 0 insertions, 0 deletions