Commit 589271d4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: keyspan_pda driver: fixed __FUNCTION__ usages.

parent 0937f7d7
...@@ -679,11 +679,11 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp) ...@@ -679,11 +679,11 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
1, 1,
2*HZ); 2*HZ);
if (rc < 0) { if (rc < 0) {
dbg(__FUNCTION__" - roomquery failed"); dbg("%s - roomquery failed", __FUNCTION__);
goto error; goto error;
} }
if (rc == 0) { if (rc == 0) {
dbg(__FUNCTION__" - roomquery returned 0 bytes"); dbg("%s - roomquery returned 0 bytes", __FUNCTION__);
rc = -EIO; rc = -EIO;
goto error; goto error;
} }
...@@ -702,7 +702,7 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp) ...@@ -702,7 +702,7 @@ static int keyspan_pda_open (struct usb_serial_port *port, struct file *filp)
port->interrupt_in_urb->dev = serial->dev; port->interrupt_in_urb->dev = serial->dev;
rc = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); rc = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
if (rc) { if (rc) {
dbg(__FUNCTION__" - usb_submit_urb(read int) failed"); dbg("%s - usb_submit_urb(read int) failed", __FUNCTION__);
goto error; goto error;
} }
...@@ -746,7 +746,7 @@ static int keyspan_pda_fake_startup (struct usb_serial *serial) ...@@ -746,7 +746,7 @@ static int keyspan_pda_fake_startup (struct usb_serial *serial)
record = &xircom_pgs_firmware[0]; record = &xircom_pgs_firmware[0];
#endif #endif
if (record == NULL) { if (record == NULL) {
err(__FUNCTION__": unknown vendor, aborting."); err("%s: unknown vendor, aborting.", __FUNCTION__);
return -ENODEV; return -ENODEV;
} }
...@@ -797,7 +797,7 @@ static int keyspan_pda_startup (struct usb_serial *serial) ...@@ -797,7 +797,7 @@ static int keyspan_pda_startup (struct usb_serial *serial)
static void keyspan_pda_shutdown (struct usb_serial *serial) static void keyspan_pda_shutdown (struct usb_serial *serial)
{ {
dbg (__FUNCTION__); dbg("%s", __FUNCTION__);
kfree(serial->port[0].private); kfree(serial->port[0].private);
} }
......
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