staging: gpib: Update messaging and usb_device refs in agilent_usb
authorDave Penkler <dpenkler@gmail.com>
Mon, 4 Nov 2024 17:50:05 +0000 (18:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Nov 2024 08:27:34 +0000 (09:27 +0100)
commitfbae7090f30c1bd5a351d0c8f82b6a635718b8d8
tree900be2b24340774661d2874735a7fc9eb6409e9a
parent4934b98bb24327c32ed55c96012f019932383da5
staging: gpib: Update messaging and usb_device refs in agilent_usb

Replace GPIB_DPRINTK with dev_dbg
Replace pr_xxx with dev_xxx wherever possible
Use previously initialized usb_device pointer for usb_put_dev()
Remove commented out console message code.

Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241104175014.12317-5-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/agilent_82357a/agilent_82357a.c