i2c: owl: Use devm_clk_get_enabled()
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 22:56:56 +0000 (00:56 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 23 Jun 2023 10:19:34 +0000 (12:19 +0200)
commit7e8e6677a8f70deb14482b70bef59dbf094d4321
tree3ae17db3ebed7a4fe35ee2ed4f6c866bad38309a
parent9d8b7b6102d9cefb9e95c7ba764121182f696943
i2c: owl: Use devm_clk_get_enabled()

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>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-owl.c