i2c: uniphier-f: Use devm_clk_get_enabled()
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 22:57:01 +0000 (00:57 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 23 Jun 2023 10:22:34 +0000 (12:22 +0200)
commitff896ef401866c0eb0d07c0c279b5382e2d9e3cf
tree0e0ba493b2e1782362529446f19f2f6676ce0583
parent7e8e6677a8f70deb14482b70bef59dbf094d4321
i2c: uniphier-f: 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-uniphier-f.c