kernel-fxtec-pro1x/drivers/clk/imx
Julia Lawall 489e5d4152 clk: imx31: add missing of_node_put
for_each_compatible_node performs an of_node_get on each iteration, so a
break out of 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;
@@

 for_each_compatible_node(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: Stephen Boyd <sboyd@codeaurora.org>
2015-10-21 16:16:34 -07:00
..
clk-busy.c
clk-cpu.c
clk-fixup-div.c
clk-fixup-mux.c
clk-gate-exclusive.c
clk-gate2.c
clk-imx1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx6q.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6sl.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6sx.c clk: imx6: Add SPDIF_GCLK clock in clock tree 2015-10-12 21:55:59 +08:00
clk-imx6ul.c clk: imx: increase AXI clock rate to 264MHz for i.MX6UL 2015-09-17 08:52:17 +08:00
clk-imx7d.c clk: imx7d: add ADC root clock 2015-10-09 11:01:50 +08:00
clk-imx21.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-imx25.c clk: imx25: retain early UART clocks during kernel init 2015-09-25 21:58:47 -07:00
clk-imx27.c clk: imx27: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx31.c clk: imx31: add missing of_node_put 2015-10-21 16:16:34 -07:00
clk-imx35.c clk: imx35: retain early UART clocks during kernel init 2015-09-25 21:58:56 -07:00
clk-imx51-imx53.c clk: imx5: retain early UART clocks during kernel init 2015-09-25 21:58:59 -07:00
clk-pfd.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv1.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-pllv2.c clk: imx: use sign_extend32() and abs() 2015-10-01 16:40:01 -07:00
clk-pllv3.c clk: i.MX: Remove clk.h include 2015-07-20 10:52:49 -07:00
clk-vf610.c clk: clk-vf610: Add clock for Vybrid OCOTP controller 2015-09-22 18:02:40 -07:00
clk.c clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
clk.h clk: imx: add common logic to detect early UART usage 2015-09-25 21:58:41 -07:00
Makefile clk: imx: add imx6ul clk tree support 2015-07-14 15:02:13 +08:00