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

Vladimir Zapolskiy vz at mleia.com
Sun Aug 25 13:19:11 PDT 2024


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 at Huawei.com>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Acked-by: Vladimir Zapolskiy <vz at mleia.com>
Reviewed-by: Vladimir Zapolskiy <vz at mleia.com>

--
Best wishes,
Vladimir



More information about the linux-arm-kernel mailing list