spi: coldfire-qspi: Use clk_prepare_enable and clk_disable_unprepare
authorQing Zhang <zhangqing@loongson.cn>
Wed, 15 Jul 2020 05:26:47 +0000 (13:26 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 23:55:26 +0000 (00:55 +0100)
commit499de01c5c0b813cc94dbfc722ec12487044ac4a
treea4b4b9bbf808bab2a0836c09bbc3d1713ee909e4
parent3e84cdd427b24b40d3670a7d61be31514bea1864
spi: coldfire-qspi: Use clk_prepare_enable and clk_disable_unprepare

Convert clk_enable() to clk_prepare_enable() and clk_disable() to
clk_disable_unprepare() respectively in the spi-coldfire-qspi.c.

Signed-off-by: Qing Zhang <zhangqing@loongson.cn>
Link: https://lore.kernel.org/r/1594790807-32319-2-git-send-email-zhangqing@loongson.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-coldfire-qspi.c