hwrng: atmel - use clk_prepapre_enable/_disable_unprepare
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 20 Nov 2014 09:43:22 +0000 (10:43 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Nov 2014 14:39:40 +0000 (22:39 +0800)
commit21961efa1381053633aed190fdaac21481fb6c12
treece591d35aa8c219de94688e8d9b6952cf65f9681
parent1e0bdad02583764e90671a2900920cffa3e9d605
hwrng: atmel - use clk_prepapre_enable/_disable_unprepare

Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable
to work properly with the CCF.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/atmel-rng.c