Julia Lawall 2725ae1759 hwrng: nomadik - add missing clk_put
Jump to the end of the function for the clk_disable and clk_put rather than
returning directly.

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

// <smpl>
@r exists@
expression e1,e2;
statement S;
@@

e1 = clk_get@p1(...);
... when != e1 = e2
    when != clk_put(e1)
    when any
if (...) { ... when != clk_put(e1)
               when != if (...) { ... clk_put(e1) ... }
* return@p3 ...;
 } else S
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2011-06-30 07:44:01 +08:00
..
2011-05-26 17:12:37 -07:00
2011-03-31 11:26:23 -03:00
2011-05-25 20:43:33 +02:00
2011-03-23 19:46:38 -07:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-02-02 15:28:19 +01:00
2011-03-31 11:26:23 -03:00
2011-01-13 08:03:23 -08:00
2011-03-31 11:26:23 -03:00
2011-01-10 08:51:44 -08:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00