]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: tnt4882 console messaging cleanup
authorDave Penkler <dpenkler@gmail.com>
Thu, 20 Feb 2025 09:09:20 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Feb 2025 10:25:58 +0000 (11:25 +0100)
commit20a351c36afc7d72956b57bdefbc79858f18923d
treeecf7685ed1838bbd9f7a1ae158e8693e114fcc48
parent0de51244e7b7e3ea97f9da68318fbc9e7e16f6a5
staging: gpib: tnt4882 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 "tnt4882_gpib" in pci_driver struct, request_region and
request_irq.

Remove unsupported chipset pr_err's

Remove messages on interrupted or timed out reads and writes.

Remove board not found messages and return -ENODEV

Remove "tnt4882:" prefix in messages as it will be printed by
pr_fmt and dev_fmt.

Change pr_err to dev_err where possible.

Remove irq and chipset pr_info's.

Replace error messages with appropriate error returns.

Remove call to mite_list_devices() and the function in mite.c

Remove PCMCIA debug comments, PCMCIA_DEBUG conditional compilation
symbol, the DEBUG macro definition and its uses.

Remove pr_info's in mite.c

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250220090920.32497-3-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/tnt4882/mite.c
drivers/staging/gpib/tnt4882/tnt4882_gpib.c