i2c: mt7621: Use devm_clk_get_enabled()
authorAndi Shyti <andi.shyti@kernel.org>
Sun, 11 Jun 2023 22:56:55 +0000 (00:56 +0200)
committerWolfram Sang <wsa@kernel.org>
Fri, 23 Jun 2023 09:56:24 +0000 (11:56 +0200)
commit2158566b4413c8d6fd9b498b4f3daa27d73e22db
tree2c15eda28c09bb7682b7953c2cfa1db3e51e7fdf
parent8390dc7477e49e4acc9e553f385f4ff59d186efe
i2c: mt7621: 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>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt7621.c