linux/arch/mips/pci
Julia Lawall 972cfd5502 MIPS: pci-rt3883: drop unneeded of_node_get
for_each_child_of_node performs an of_node_get on each iteration, so no
of_node_get is needed on breaking out of the loop when the device_node
structure is saved in another variable.

A simplified semantic match that finds this problem is as follows
(http://coccinelle.lip6.fr):

// <smpl>
@@
expression root;
local idexpression child;
@@

 for_each_child_of_node(root, child) {
   ...
*  of_node_get(child)
   ...
   break;
 }
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: kernel-janitors@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Patchwork: https://patchwork.linux-mips.org/patch/11357/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-11-11 08:36:43 +01:00
..
fixup-bcm63xx.c
fixup-capcella.c
fixup-cobalt.c
fixup-emma2rh.c
fixup-fuloong2e.c
fixup-ip32.c
fixup-jmr3927.c
fixup-lantiq.c
fixup-lemote2f.c
fixup-loongson3.c
fixup-malta.c
fixup-mpc30x.c
fixup-pmcmsp.c
fixup-rbtx4927.c
fixup-rbtx4938.c
fixup-rc32434.c
fixup-sb1250.c
fixup-sni.c
fixup-tb0219.c
fixup-tb0226.c
fixup-tb0287.c
Makefile
msi-octeon.c
msi-xlp.c MIPS: Netlogic: Use chip_data for irq_chip methods 2015-09-03 12:08:03 +02:00
ops-bcm63xx.c
ops-bonito64.c
ops-bridge.c
ops-emma2rh.c
ops-gt64xxx_pci0.c
ops-lantiq.c
ops-loongson2.c
ops-loongson3.c
ops-mace.c
ops-msc.c
ops-nile4.c
ops-pmcmsp.c
ops-rc32434.c
ops-sni.c
ops-tx3927.c
ops-tx4927.c
ops-vr41xx.c
pci-alchemy.c
pci-ar71xx.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
pci-ar724x.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
pci-ar2315.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
pci-bcm47xx.c
pci-bcm63xx.c
pci-bcm63xx.h
pci-bcm1480.c
pci-bcm1480ht.c
pci-emma2rh.c
pci-ip27.c
pci-ip32.c
pci-lantiq.c
pci-lantiq.h
pci-lasat.c
pci-malta.c
pci-octeon.c
pci-rc32434.c
pci-rt2880.c
pci-rt3883.c MIPS: pci-rt3883: drop unneeded of_node_get 2015-11-11 08:36:43 +01:00
pci-sb1250.c
pci-tx4927.c
pci-tx4938.c
pci-tx4939.c
pci-virtio-guest.c
pci-vr41xx.c
pci-vr41xx.h
pci-xlp.c
pci-xlr.c
pci.c PCI: Revert "PCI: Call pci_read_bridge_bases() from core instead of arch code" 2015-09-15 13:18:04 -05:00
pcie-octeon.c