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:Andi Shyti <andi.shyti@kernel.org> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Wolfram Sang <wsa@kernel.org> Stable-dep-of: 05f933d5 ("i2c: nomadik: Remove a useless call in the remove function") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment