]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b828277a8a112eb1c2f9b1575f4f6b47bbb1e02
treea4b4b9bbf808bab2a0836c09bbc3d1713ee909e4
parent4d419ba1a9afd8e904a42750ebaaa0f6fe0dbbf1
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