aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/boot/dts/axs10x_mb.dtsi
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-07-15 18:27:41 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2017-08-30 14:01:31 +0200
commit7366419b5e72e12b705a9cdd5d18abf421668113 (patch)
treebe260e0e4a963f665bdcc34bdbaada7f33d11abc /arch/arc/boot/dts/axs10x_mb.dtsi
parentmmc: sdhci-of-at91: set clocks and presets after resume from deepest PM (diff)
downloadlinux-dev-7366419b5e72e12b705a9cdd5d18abf421668113.tar.xz
linux-dev-7366419b5e72e12b705a9cdd5d18abf421668113.zip
mmc: atmel-mci: add missing of_node_put
for_each_child_of_node performs an of_node_get on each iteration, so a break out the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // <smpl> @@ local idexpression n; expression e,e1; iterator name for_each_child_of_node; @@ for_each_child_of_node(e1,n) { ... ( of_node_put(n); | e = n | + of_node_put(n); ? break; ) ... } ... when != n // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'arch/arc/boot/dts/axs10x_mb.dtsi')
0 files changed, 0 insertions, 0 deletions