linux/drivers/soc/qcom
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
..
Kconfig soc: qcom: Reorder SMEM/SMD configs 2015-10-14 14:51:20 -05:00
Makefile soc: qcom: Driver for the Qualcomm RPM over SMD 2015-07-29 14:13:48 -05:00
qcom_gsbi.c soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
smd-rpm.c soc: qcom: smd_rpm: Handle big endian CPUs 2015-10-14 14:51:21 -05:00
smd.c soc: qcom: smd: delete unneeded of_node_put 2015-10-14 14:51:22 -05:00
smem.c soc: qcom: smem: Handle big endian CPUs 2015-10-14 14:51:20 -05:00
spm.c soc: qcom: spm: Fix idle on THUMB2 kernels 2015-07-01 12:16:30 -07:00