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

Replace GPIB_DPRINTK with dev_dbg
Replace pr_xxx with dev_xxx wherever possible
Use previously initialized usb_device pointer
for usb_get_dev() and usb_put_dev().

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