Commit c1556beb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: belkin serial driver: fixed __FUNCTION__ usages.

parent 28389a24
...@@ -184,7 +184,7 @@ static void belkin_sa_shutdown (struct usb_serial *serial) ...@@ -184,7 +184,7 @@ static void belkin_sa_shutdown (struct usb_serial *serial)
{ {
int i; int i;
dbg (__FUNCTION__); dbg ("%s", __FUNCTION__);
/* stop reads and writes on all ports */ /* stop reads and writes on all ports */
for (i=0; i < serial->num_ports; ++i) { for (i=0; i < serial->num_ports; ++i) {
...@@ -199,7 +199,7 @@ static int belkin_sa_open (struct usb_serial_port *port, struct file *filp) ...@@ -199,7 +199,7 @@ static int belkin_sa_open (struct usb_serial_port *port, struct file *filp)
{ {
int retval = 0; int retval = 0;
dbg(__FUNCTION__" port %d", port->number); dbg("%s port %d", __FUNCTION__, port->number);
/*Start reading from the device*/ /*Start reading from the device*/
/* TODO: Look at possibility of submitting mulitple URBs to device to /* TODO: Look at possibility of submitting mulitple URBs to device to
...@@ -233,7 +233,7 @@ static void belkin_sa_close (struct usb_serial_port *port, struct file *filp) ...@@ -233,7 +233,7 @@ static void belkin_sa_close (struct usb_serial_port *port, struct file *filp)
if (!serial) if (!serial)
return; return;
dbg(__FUNCTION__" port %d", port->number); dbg("%s port %d", __FUNCTION__, port->number);
if (serial->dev) { if (serial->dev) {
/* shutdown our bulk reads and writes */ /* shutdown our bulk reads and writes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment