+20
−47
Loading
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> Reviewed-by:
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by:
Linus Walleij <linusw@kernel.org>