diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 04:58:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-18 04:58:57 -0400 |
commit | 59d33f2fc2d63796296b1b76143e039d6e7cf532 (patch) | |
tree | e754135e560ab7478694c942fe65bc4ea325053b /drivers/usb/serial/whiteheat.c | |
parent | 82760526e6d2e1d1e815abaf3eae42b8bb82968c (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/whiteheat.c')
-rw-r--r-- | drivers/usb/serial/whiteheat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c index d9456b4e5d6e..64d3840673aa 100644 --- a/drivers/usb/serial/whiteheat.c +++ b/drivers/usb/serial/whiteheat.c | |||
@@ -607,8 +607,7 @@ static void command_port_read_callback(struct urb *urb) | |||
607 | return; | 607 | return; |
608 | } | 608 | } |
609 | 609 | ||
610 | usb_serial_debug_data(debug, &command_port->dev, | 610 | usb_serial_debug_data(&command_port->dev, __func__, urb->actual_length, data); |
611 | __func__, urb->actual_length, data); | ||
612 | 611 | ||
613 | if (data[0] == WHITEHEAT_CMD_COMPLETE) { | 612 | if (data[0] == WHITEHEAT_CMD_COMPLETE) { |
614 | command_info->command_finished = WHITEHEAT_CMD_COMPLETE; | 613 | command_info->command_finished = WHITEHEAT_CMD_COMPLETE; |