Files
linux/drivers/video/fbdev
Julia Lawall 9dec58e6c4 video: omapdss: 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: Tomi Valkeinen <tomi.valkeinen@ti.com>
2015-12-29 11:06:30 +02:00
..
2015-10-08 12:24:12 +03:00
2014-07-01 13:32:30 +03:00
2015-10-08 12:19:39 +03:00
2015-02-11 17:06:05 -08:00
2015-03-02 13:17:24 +02:00
2015-08-20 12:03:53 +03:00