summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDave Penkler <dpenkler@gmail.com>2025-02-14 14:46:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-19 18:47:56 +0300
commit5d445a4395522652892b1d6d5d9600193d57276a (patch)
tree56fba73d456bf1d577387c0478d667c3bd87236c /scripts
parent50a6ed0494bc082227c38f427b40731bca9bdf15 (diff)
downloadlinux-5d445a4395522652892b1d6d5d9600193d57276a.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions