reset: uniphier-glue: Use reset_control_bulk API
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 15 Dec 2021 09:38:28 +0000 (10:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:27:04 +0000 (08:27 +0100)
commit4773a8cf9a53878e799ebd78f48e2296b8f02dfd
treed019494b6ec52e41f78c5998ce8587cc92cfa1b3
parent7b33accc8ff9068726f95adad5e0057e1409bc4b
reset: uniphier-glue: Use reset_control_bulk API

[ Upstream commit 176cae38719196a43cd8ae08377413a3884a9f15 ]

This driver already uses the clk_bulk API. Simplify the driver by using
the reset_control_bulk API as well.

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-1-p.zabel@pengutronix.de
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Stable-dep-of: 3a2390c6777e ("reset: uniphier-glue: Fix possible null-ptr-deref")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/reset/reset-uniphier-glue.c