commit | f36c54f3ce3d69aadccc56bc7dc2cf6c464f3522 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Wed Apr 03 13:46:56 2024 +0300 |
committer | Andrew Morton <akpm@linux-foundation.org> | Thu Apr 25 21:07:06 2024 -0700 |
tree | 34a8144e586de992e37d5c33c87a8b2b4d2494e6 | |
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>