mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
soc: mediatek: mtk-devapc: Switch to devm_clk_get_enabled()
[ Upstream commit916120df5a] This driver does exactly devm_clk_get() and clk_prepare_enable() right after, which is exactly what devm_clk_get_enabled() does: clean that up by switching to the latter. This commit brings no functional changes. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20221006110935.59695-1-angelogioacchino.delregno@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Stable-dep-of:c0eb059a45("soc: mediatek: mtk-devapc: Fix leaking IO map on error paths") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f03ad37824
commit
10185d020c
1 changed files with 2 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue