hwrng: nomadik - use clk_prepare_enable()
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Jun 2013 00:02:09 +0000 (02:02 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:43:09 +0000 (16:43 +0800)
commitbeca35d05cc224d7434b0d1b5911c7b25febd336
treeeb94c59340fe39734d393ecb25ec9c92d80c3d57
parent61e2d1a9b2e8105631ac7ff5b048342fcfd3d622
hwrng: nomadik - use clk_prepare_enable()

The Nomadik HW RNG driver has seen some rust and is not preparing
the clock before use. Fix this up so we get rid of runtime
complaints from the clock subsystem.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/nomadik-rng.c