diff options
| author | Andy Shevchenko <[email protected]> | 2024-04-03 13:46:56 +0300 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-04-25 21:07:06 -0700 |
| commit | f36c54f3ce3d69aadccc56bc7dc2cf6c464f3522 (patch) | |
| tree | 34a8144e586de992e37d5c33c87a8b2b4d2494e6 /scripts/gcc-plugins/gcc-common.h | |
| 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/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Philipp Stanner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions