]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: xiic: Use devm_clk_get_enabled()
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 22:56:49 +0000 (00:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:44 +0000 (15:11 +0200)
commit01eb21aff7f3beade077f64b92bc54bab7e21a82
tree1fcd7d2065cd96459c7618f22cea7417fdddff92
parent65677e96e958842e262980d99162093fed6d1e39
i2c: xiic: Use devm_clk_get_enabled()

[ Upstream commit 8390dc7477e49e4acc9e553f385f4ff59d186efe ]

Replace the pair of functions, devm_clk_get() and clk_prepare_enable(),
with a single function devm_clk_get_enabled().

Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Acked-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Stable-dep-of: 0c8d604dea43 ("i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-xiic.c