]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: nomadik: Use devm_clk_get_enabled()
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 01:37:00 +0000 (03:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:27 +0000 (10:22 +0200)
commitf07d8d345bd2d06ecdc613901c2a6d4c43d22508
tree739095743cd11ef0cd164a36ce03e7f8ad523b2e
parent4954c870533991aeb93ab42a0bb686921229988b
i2c: nomadik: Use devm_clk_get_enabled()

[ Upstream commit 9c7174db4cdd111e10d19eed5c36fd978a14c8a2 ]

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: 05f933d5f731 ("i2c: nomadik: Remove a useless call in the remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-nomadik.c