gpio: nomadik: use devres version of clk_get*()
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 28 Feb 2024 11:28:16 +0000 (12:28 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Feb 2024 09:31:27 +0000 (10:31 +0100)
commit2f8875ddd13ae797edc45384f56ecc8a9496d2ca
tree990b157cf8dc8684e2c014ff6a347ebd887ac8df
parent12410e95903c68573aa43ea6f816830715a7e7b4
gpio: nomadik: use devres version of clk_get*()

Replace call to clk_get() by call to devm_clk_get(). Allow automatic
cleanup of the clock in case of probe error.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20240228-mbly-gpio-v2-18-3ba757474006@bootlin.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-nomadik.c