dmaengine: Actually use devm_add_action_or_reset()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Feb 2023 11:21:38 +0000 (13:21 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Mar 2023 17:43:42 +0000 (23:13 +0530)
commit91e78b2585348284ef7cdb6a8736fd21389914fe
tree288eb022d9c9e1ebef2ca633a66878c49e27466b
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
dmaengine: Actually use devm_add_action_or_reset()

It appears that the commit a1beaa50b583 ("dmaengine: Simplify
dmaenginem_async_device_register() function") mentions
devm_add_action_or_reset() the actual change utilised devm_add_action()
call by mistake.

Fix the issue by switching to devm_add_action_or_reset().

Fixes: a1beaa50b583 ("dmaengine: Simplify dmaenginem_async_device_register() function")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230213112138.32118-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmaengine.c