]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: gpib: fmh console messaging cleanup
authorDave Penkler <dpenkler@gmail.com>
Fri, 14 Feb 2025 11:46:58 +0000 (12:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Feb 2025 15:47:56 +0000 (16:47 +0100)
commitacdf4581545b83e9eeb5663fd004e745106f8818
tree0447eb35659ec7debf8cdd44e8e2dacd5d848529
parentf2bda0b660bd3759cdf54ad8823ddf0d4fc80c82
staging: gpib: fmh 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 "fmh_gpib" in platform_driver and pci_driver structs.

Remove commented printk's.

Change pr_err to dev_err wherever possible

Remove "fmh_gpib_gpib:" prefix in messages since this is
printed with the module name.

Remove write interrupted dev_dbg messages.

Remove read wait interrupted pr_warn.

Change dev_notice attach to dev_dbg

Change dev_info to dev_dbg.

Correct dev_err message erroneously containing cb7210 identifier.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250214114708.28947-8-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/fmh_gpib/fmh_gpib.c