aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/visor.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 04:58:57 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 04:58:57 -0400
commit59d33f2fc2d63796296b1b76143e039d6e7cf532 (patch)
treee754135e560ab7478694c942fe65bc4ea325053b /drivers/usb/serial/visor.c
parent82760526e6d2e1d1e815abaf3eae42b8bb82968c (diff)
USB: serial: remove debug parameter from usb_serial_debug_data()
We should use dev_dbg() for usb_serial_debug_data() like all of the rest of the usb-serial drivers use, so remove the debug parameter as it's not needed. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/visor.c')
-rw-r--r--drivers/usb/serial/visor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
index f253c91383da..97fe0059ed8b 100644
--- a/drivers/usb/serial/visor.c
+++ b/drivers/usb/serial/visor.c
@@ -310,8 +310,8 @@ static void visor_read_int_callback(struct urb *urb)
310 * Rumor has it this endpoint is used to notify when data 310 * Rumor has it this endpoint is used to notify when data
311 * is ready to be read from the bulk ones. 311 * is ready to be read from the bulk ones.
312 */ 312 */
313 usb_serial_debug_data(debug, &port->dev, __func__, 313 usb_serial_debug_data(&port->dev, __func__, urb->actual_length,
314 urb->actual_length, urb->transfer_buffer); 314 urb->transfer_buffer);
315 315
316exit: 316exit:
317 result = usb_submit_urb(urb, GFP_ATOMIC); 317 result = usb_submit_urb(urb, GFP_ATOMIC);
@@ -443,8 +443,7 @@ static int palm_os_4_probe(struct usb_serial *serial,
443 dev_err(dev, "%s - error %d getting connection info\n", 443 dev_err(dev, "%s - error %d getting connection info\n",
444 __func__, retval); 444 __func__, retval);
445 else 445 else
446 usb_serial_debug_data(debug, &serial->dev->dev, __func__, 446 usb_serial_debug_data(dev, __func__, retval, transfer_buffer);
447 retval, transfer_buffer);
448 447
449 kfree(transfer_buffer); 448 kfree(transfer_buffer);
450 return 0; 449 return 0;