linux/drivers/soc
Julia Lawall 6083096d96 soc: qcom: smd: delete unneeded of_node_put
Device node iterators perform an of_node_put on each iteration, so putting
an of_node_put before a continue results in a double put.

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

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

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

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Andy Gross <agross@codeaurora.org>
2015-10-14 14:51:22 -05:00
..
dove ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets 2015-08-05 18:36:49 +02:00
mediatek soc: mediatek: Fix SCPSYS compilation 2015-08-05 11:12:44 +02:00
qcom soc: qcom: smd: delete unneeded of_node_put 2015-10-14 14:51:22 -05:00
sunxi drivers: soc: sunxi: Introduce SoC driver to map SRAMs 2015-06-01 17:57:34 +02:00
tegra soc/tegra: pmc: Use existing pclk reference 2015-08-13 16:49:58 +02:00
ti soc: ti: knav_qmss_queue: change knav_range_setup_acc_irq to static 2015-01-29 13:23:51 -08:00
versatile drivers/soc: Convert non-modular soc-realview to use builtin_platform_driver 2015-06-16 14:12:38 -04:00
Kconfig drivers: soc: sunxi: Introduce SoC driver to map SRAMs 2015-06-01 17:57:34 +02:00
Makefile ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets 2015-08-05 18:36:49 +02:00