Commit 12b17eb1 authored by Andi Shyti's avatar Andi Shyti Committed by sanglipeng
Browse files

i2c: nomadik: Use devm_clk_get_enabled()

stable inclusion
from stable-v5.10.190
commit a7ab5d7943b55aa4adc7eb1bed71dde7accb7b18
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a7ab5d7943b55aa4adc7eb1bed71dde7accb7b18



--------------------------------

[ Upstream commit 9c7174db ]

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

Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Stable-dep-of: 05f933d5 ("i2c: nomadik: Remove a useless call in the remove function")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent a9bc4737
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment