spi: spi-ath79: Use clk_prepare_enable and clk_disable_unprepare
authorAlban Bedel <albeu@free.fr>
Fri, 24 Apr 2015 14:19:23 +0000 (16:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Apr 2015 14:44:57 +0000 (15:44 +0100)
commit3e19acdc5bdd9709bfd89cc14cbcd1cb90b44965
tree4b623e0ce9a917d9fe31039c86eb2e74f1e1ce26
parent85f62476fc44e6915787f832371400cbdd7d8bff
spi: spi-ath79: Use clk_prepare_enable and clk_disable_unprepare

Clocks should be prepared and unprepared, fix this by using
clk_prepare_enable() and clk_disable_unprepare() instead of
clk_enable() and clk_disable().

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-ath79.c