]> git.baikalelectronics.ru Git - kernel.git/commit
spi: omap-uwire: Use clk_prepare_enable and clk_disable_unprepare
authorQing Zhang <zhangqing@loongson.cn>
Wed, 15 Jul 2020 05:26:46 +0000 (13:26 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jul 2020 14:58:33 +0000 (15:58 +0100)
commitc65d826ea2c463f246021be43e4a37bac64f6a4d
tree9c6b340cfb51df5ed1c47aacfa69fccdb610b033
parent10ddbf26725e9d0ee6b1e298c6943b566053e8ef
spi: omap-uwire: 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-omap-uwire.c.

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