diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-04-03 13:46:56 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-04-25 21:07:06 -0700 |
commit | f36c54f3ce3d69aadccc56bc7dc2cf6c464f3522 (patch) | |
tree | 34a8144e586de992e37d5c33c87a8b2b4d2494e6 /block/mq-deadline.c | |
parent | b157f0e97e3ed6158cde4f247da4c537c3f6a0f9 (diff) |
devres: switch to use dev_err_probe() for unification
Patch series "devres: A couple of cleanups".
A couple of ad-hoc cleanups. No functional changes intended.
This patch (of 2):
The devm_*() APIs are supposed to be called during the ->probe() stage.
Many drivers (especially new ones) have switched to use dev_err_probe()
for error messaging for the sake of unification. Let's do the same in the
devres APIs.
Link: https://lkml.kernel.org/r/20240403104820.557487-1-andriy.shevchenko@linux.intel.com
Link: https://lkml.kernel.org/r/20240403104820.557487-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions