]> 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)
commit95c3f01d44d901d0d12d84126ed215c812fd8211
treea4b4b9bbf808bab2a0836c09bbc3d1713ee909e4
parent8ee7e16b7d95ec5672104682f9ef5b5476bce939
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