linux/arch/powerpc/platforms/52xx
Liang He 593d7b89c6 powerpc/52xx: Add missing of_node_put() in media5200.c
In media5200_init_irq(), of_find_compatible_node() will return a
node pointer with refcount incremented. The reference should be dropped
with of_node_put() in the failure path or when it is not used anymore.

Don't worry about 'fpga_np == NULL' as of_node_put() can correctly
handle that.

Signed-off-by: Liang He <windhl@126.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220616144007.3987743-1-windhl@126.com
2022-09-05 17:28:25 +10:00
..
efika.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
Kconfig powerpc: Rename PPC_NATIVE to PPC_HASH_MMU_NATIVE 2021-12-02 22:57:22 +11:00
lite5200_pm.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
lite5200_sleep.S powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add') 2021-04-23 01:38:03 +10:00
lite5200.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
Makefile powerpc/Makefiles: Convert ifeq to ifdef where possible 2018-08-08 00:32:36 +10:00
media5200.c powerpc/52xx: Add missing of_node_put() in media5200.c 2022-09-05 17:28:25 +10:00
mpc52xx_common.c powerpc/52xx: Remove dead code, i.e. mpc52xx_get_xtal_freq() 2022-06-22 12:51:49 +10:00
mpc52xx_gpt.c powerpc/52xx: Mark gpt driver as not removable 2022-07-18 23:35:25 +10:00
mpc52xx_lpbfifo.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_pic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_pm.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
mpc52xx_sleep.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpc5200_simple.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00