devres: Pass unique name of the resource to devm_add_action()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Feb 2023 20:07:45 +0000 (22:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:06:22 +0000 (09:06 +0100)
commit0433686c6092f65b552eadad651f620e51b6aad1
treede29f5fd74b5521747d780776509765b757507bd
parent295209ca7b5b3aa6375d6190311b2ae804dbcf65
devres: Pass unique name of the resource to devm_add_action()

Pass the unique name of the resource to devm_add_action(),
so it will be easier to debug managed resources.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230224200745.17324-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devres.c
include/linux/device.h