phy: cadence: Sierra: Move all reset_control_get*() to a separate function
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 19 Mar 2021 12:41:21 +0000 (18:11 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Mar 2021 11:13:20 +0000 (16:43 +0530)
commit1d5f40e021f3c047119d2745ae542700871a0833
tree302357f9f79755876f5aa08c7edc4155f58921ea
parent7e016cbc526dd3b25837a2f628801d02cbc801dd
phy: cadence: Sierra: Move all reset_control_get*() to a separate function

No functional change. Group devm_reset_control_get() and
devm_reset_control_get_optional() to a separate function.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20210319124128.13308-7-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-sierra.c