diff options
author | Dave Penkler <dpenkler@gmail.com> | 2025-02-14 12:46:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-19 16:47:56 +0100 |
commit | 5d445a4395522652892b1d6d5d9600193d57276a (patch) | |
tree | 56fba73d456bf1d577387c0478d667c3bd87236c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 50a6ed0494bc082227c38f427b40731bca9bdf15 (diff) |
staging: gpib: cec_gpib console messaging cleanup
Enable module name to be printed in pr_xxx and dev_xxx
Use DRV_NAME defined as KBUILD_MODNAME instead of hard coded
string "cec_gpib" in pci_driver struct.
Remove "cec_gpib:" string prefix in messages since module name
printing is enabled.
Change pr_err to dev_err where possible.
Return consistent error codes with error messages:
-EBUSY when resources are busy
-ENODEV when device is not present
-EIO for others.
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250214114708.28947-5-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions