reset: uniphier-glue: Use devm_add_action_or_reset()
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Dec 2021 09:38:29 +0000 (10:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 3 May 2022 15:40:51 +0000 (17:40 +0200)
commit72bb7314e320a74b2ca02ceb1187b2c650f38311
treed98ad1b0988e4b9b00796a347bdcd5ac2e14c3ba
parent176cae38719196a43cd8ae08377413a3884a9f15
reset: uniphier-glue: Use devm_add_action_or_reset()

Slightly simplify uniphier_glue_reset_probe() and drop
uniphier_glue_reset_remove() by using devm_add_action_or_reset()
for clock and reset cleanup.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/20211215093829.3209416-2-p.zabel@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-uniphier-glue.c