spi: atmel: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Tue, 16 Jul 2013 15:16:22 +0000 (17:16 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 17 Jul 2013 08:10:24 +0000 (09:10 +0100)
commitdfec4a6e42286dacc733c7e6be43606a5622ca58
tree91cbb9cb21354c412bc87b8b63465fdc442f1dec
parentad81f0545ef01ea651886dddac4bef6cec930092
spi: atmel: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-atmel.c