]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: coldfire-qspi: Use clk_disable_unprepare in the remove function
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 18 Aug 2021 20:55:56 +0000 (22:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Sep 2021 08:00:34 +0000 (10:00 +0200)
commite397ca503cfdbab5d2fc4d8856a5d324baf073d3
treeaeea524410a082ec7792095471bfae30a45ab3d1
parent3c1278fbed0bd3bd5886eae3b22fa4845489a19e
spi: coldfire-qspi: Use clk_disable_unprepare in the remove function

[ Upstream commit d68f4c73d729245a47e70eb216fa24bc174ed2e2 ]

'clk_prepare_enable()' is used in the probe, so 'clk_disable_unprepare()'
should be used in the remove function to be consistent.

Fixes: 499de01c5c0b ("spi: coldfire-qspi: Use clk_prepare_enable and clk_disable_unprepare")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ee91792ddba61342b0d3284cd4558a2b0016c4e7.1629319838.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-coldfire-qspi.c