linux/drivers/memory
Julia Lawall d1122e4b76 memory: tegra: Delete unneeded of_node_put()
for_each_child_of_node() performs an of_node_put() on each iteration, so
putting an of_node_put() before a continue results in a double put.

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

// <smpl>
@@
expression root,e;
local idexpression child;
iterator name for_each_child_of_node;
@@

 for_each_child_of_node(root, child) {
   ... when != of_node_get(child)
*  of_node_put(child);
   ...
*  continue;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2016-06-14 11:39:39 +02:00
..
samsung memory: samsung: exynos-srom: Add support for bank configuration 2016-04-18 14:25:29 +02:00
tegra memory: tegra: Delete unneeded of_node_put() 2016-06-14 11:39:39 +02:00
atmel-sdramc.c memory: drop owner assignment from platform_drivers 2014-10-20 16:20:52 +02:00
emif.c drivers/memory: don't check resource with devm_ioremap_resource 2013-05-18 11:55:52 +02:00
emif.h memory: emif: handle frequency and voltage change events 2012-05-02 10:52:09 -07:00
fsl_ifc.c mtd/ifc: Add support for IFC controller version 2.0 2016-04-19 22:04:53 +02:00
fsl-corenet-cf.c memory: fsl-corenet: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00
jz4780-nemc.c memory: jz4780-nemc: driver for the NEMC on JZ4780 SoCs 2015-03-26 23:51:36 +01:00
Kconfig MTD updates for v4.7: 2016-05-24 11:00:20 -07:00
Makefile memory: Add support for Exynos SROM driver 2016-04-18 14:25:27 +02:00
mtk-smi.c memory: mtk-smi: export mtk_smi_larb_get/put 2016-05-06 14:20:56 +02:00
mvebu-devbus.c memory: drop owner assignment from platform_drivers 2014-10-20 16:20:52 +02:00
of_memory.c memory: of_memory: Silence uninitialized variable warning 2016-05-01 14:20:04 -07:00
of_memory.h memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
omap-gpmc.c mtd: nand: omap2: rely on generic DT parsing done in nand_scan_ident() 2016-04-19 22:04:54 +02:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
tegra20-mc.c memory: drop owner assignment from platform_drivers 2014-10-20 16:20:52 +02:00
ti-aemif.c memory: ti-aemif: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00