diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-08-25 15:50:00 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2024-08-31 07:44:23 +0200 |
commit | 331b8a963137d182248599d500edd9b4a3783db5 (patch) | |
tree | a4ba6a3fb81e3968cf769f73c6711e4cf7382a1a /rust/helpers.c | |
parent | 84d1078af52f6a099267fccfb1dda602ac8b66d0 (diff) |
memory: pl172: simplify releasing AMBA regions with devm
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 <[email protected]>
Acked-by: Vladimir Zapolskiy <[email protected]>
Reviewed-by: Vladimir Zapolskiy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions