linux/arch/powerpc/sysdev
Julia Lawall 4cdd641ddd powerpc/fsl: fsl_soc: delete unneeded test before of_node_put
Of_node_put supports NULL as its argument, so the initial test is not
necessary.

Suggested by Uwe Kleine-König.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e;
@@

-if (e)
   of_node_put(e);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2014-11-10 09:59:34 +11:00
..
ge powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
qe_lib powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
xics powerpc: Replace __get_cpu_var uses 2014-11-03 12:12:32 +11:00
6xx-suspend.S
axonram.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
cpm1.c
cpm2.c
cpm2_pic.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
cpm2_pic.h
cpm_common.c
dart.h
dart_iommu.c powerpc/kmemleak: Do not scan the DART table 2014-06-24 14:29:46 +10:00
dcr-low.S
dcr.c powerpc: Export dcr_ind_lock to fix build error 2014-09-25 23:14:45 +10:00
ehv_pic.c powerpc:eVh_pic: Kill irq_desc abuse 2014-03-04 17:37:51 +01:00
fsl_85xx_cache_ctlr.h
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
fsl_gtm.c
fsl_lbc.c powerpc/85xx: handle the eLBC error interrupt if it exists in dts 2014-01-10 17:19:27 -06:00
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
fsl_msi.h Revert "powerpc/fsl_msi: spread msi ints across different MSIRs" 2014-09-19 15:20:42 -05:00
fsl_pci.c powerpc: make __ffs return unsigned long 2014-11-10 09:59:27 +11:00
fsl_pci.h fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
fsl_pmc.c
fsl_rio.c powerpc/fsl-rio: Fix fsl_rio_setup error paths and use-after-unmap 2014-05-09 15:49:05 -05:00
fsl_rio.h
fsl_rmu.c powerpc/rmu: Fix the error memory free parameters 2014-05-22 18:08:13 -05:00
fsl_soc.c powerpc/fsl: fsl_soc: delete unneeded test before of_node_put 2014-11-10 09:59:34 +11:00
fsl_soc.h
grackle.c
i8259.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
indirect_pci.c
ipic.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
ipic.h
Kconfig powerpc: Added PCI MSI support using the HSTA module 2014-05-01 08:26:30 +10:00
Makefile powerpc: Added PCI MSI support using the HSTA module 2014-05-01 08:26:30 +10:00
micropatch.c powerpc/8xx: Remove empty asm/mpc8xx.h 2014-06-25 18:49:40 -05:00
mmio_nvram.c
mpc5xxx_clocks.c
mpc8xx_pic.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
mpc8xx_pic.h
mpic.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
mpic.h
mpic_msgr.c powerpc/mpic_msgr: Use kcalloc and correct the argument to sizeof 2014-07-29 19:26:31 -05:00
mpic_msi.c
mpic_pasemi_msi.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
mpic_timer.c
mpic_u3msi.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
msi_bitmap.c powerpc/msi: Use WARN_ON() in msi bitmap selftests 2014-10-15 13:09:33 +11:00
mv64x60.h
mv64x60_dev.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
mv64x60_pci.c
mv64x60_pic.c
mv64x60_udbg.c dt/bindings: Remove device_type "serial" from marvell,mv64360-mpsc 2014-01-16 16:31:31 +00:00
of_rtc.c
pmi.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
ppc4xx_cpm.c powerpc/4xx/cpm: delete unneeded test before of_node_put 2014-11-10 09:59:34 +11:00
ppc4xx_gpio.c
ppc4xx_hsta_msi.c PCI/MSI/PPC: Remove arch_msi_check_device() 2014-10-01 12:21:14 -06:00
ppc4xx_msi.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
ppc4xx_ocm.c
ppc4xx_pci.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
ppc4xx_pci.h
ppc4xx_soc.c
rtc_cmos_setup.c
scom.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c
udbg_memcons.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
uic.c powerpc: Remove superfluous bootmem includes 2014-11-10 09:59:26 +11:00
xilinx_intc.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00
xilinx_pci.c powerpc: make of_device_ids const 2014-09-25 23:14:46 +10:00