diff options
author | Heiner Kallweit <[email protected]> | 2023-05-31 22:41:32 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-01 21:39:39 -0700 |
commit | 733b3e27650b1bbce3c21fcfdb4fca22063efd66 (patch) | |
tree | 1dd5e39efe61432d27a97485e50f8203082cf904 /tools/perf/scripts/python/sctop.py | |
parent | b345b2a6cb96583aa695226cb8961803dbbdd27c (diff) |
r8169: use dev_err_probe in all appropriate places in rtl_init_one()
In addition to properly handling probe deferrals dev_err_probe()
conveniently combines printing an error message with returning
the errno. So let's use it for every error path in rtl_init_one()
to simplify the code.
Signed-off-by: Heiner Kallweit <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions