Re: [PATCH 1/2] memory: pl172: simplify releasing AMBA regions with devm

From: Vladimir Zapolskiy
Date: Sun Aug 25 2024 - 16:19:22 EST


On 8/25/24 16:50, Krzysztof Kozlowski wrote:
Use devm_add_action_or_reset() and dev_err_probe() to make the probe()
error handling simpler around amba_release_regions() cleanup. This
allows to drop the remove() callback entirely.

Suggested-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Acked-by: Vladimir Zapolskiy <vz@xxxxxxxxx>
Reviewed-by: Vladimir Zapolskiy <vz@xxxxxxxxx>

--
Best wishes,
Vladimir