phy: amlogic: use devm_clk_get_enabled() to simplify the code
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 30 Aug 2022 17:16:07 +0000 (19:16 +0200)
committerVinod Koul <vkoul@kernel.org>
Sun, 4 Sep 2022 15:19:12 +0000 (20:49 +0530)
commit766ab0ded4c2cca84ac80c036ea38686ff43765b
treefede252e2e9f53b447779ca2e74eb8dd324461c9
parent2e9bffc4f713db465177238f6033f7d367d6f151
phy: amlogic: use devm_clk_get_enabled() to simplify the code

Simplify the code by using devm_clk_get_enabled().

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/9308a2a3-e828-bd9d-ab83-a68376aab5c3@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c