spi: rspi: Convert to clk_prepare_enable/disable_unprepare
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Fri, 24 Jan 2014 08:44:01 +0000 (09:44 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:13 +0000 (11:13 +0100)
commit7631202a4f7cfad08a9ece529609b485e25e5ad5
tree43224418269203485593f2d6540f9a0b66dedbdf
parent79bff4453a543a5d75cbc0901dbb05acac01b394
spi: rspi: Convert to clk_prepare_enable/disable_unprepare

Get the driver ready for the migration to the common clock framework by
calling clk_prepare_enable() and clk_disable_unprepare().

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 17fe0d9a28fe742c467f800625459cf7bcb44b3b)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-rspi.c