diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-07 18:03:24 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-10-14 23:27:57 +0530 |
commit | c0fecce865535f77e7a8220175b126392dfe99dc (patch) | |
tree | b2e87ffe79ab7dc3c00950256a5c904b216afd66 /drivers/scsi/snic/snic_attrs.c | |
parent | 6e3ea06240adfef7b46e2338dd824541c31de06d (diff) |
dmaengine: acpi: Simplify devm_acpi_dma_controller_register()
Use devm_add_action_or_reset() instead of devres_alloc() and
devres_add(), which works the same. This will simplify the
code. There is no functional changes.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241007150436.2183575-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/scsi/snic/snic_attrs.c')
0 files changed, 0 insertions, 0 deletions