summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 16:34:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-14 16:34:21 -0700
commit7ebcb334433fa73c74b0c397fab831cdc2000418 (patch)
treebcfe52390a5e3941a95edcab1323e29dbd8ac723 /drivers
parent049c6b4e8f85d9ef5f26c8a974e5e9fb084f8ce0 (diff)
downloadlinux-7ebcb334433fa73c74b0c397fab831cdc2000418.tar.bz2
USB: serial: keyspan: fix up some compiler warnings
I accidentally caused some compiler warnings, that were correct in pointing out problems, so fix them up now. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/serial/keyspan.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 0d37581fabb1..1635f5062f00 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -2474,14 +2474,12 @@ static int keyspan_startup(struct usb_serial *serial)
if (s_priv->instat_urb != NULL) {
err = usb_submit_urb(s_priv->instat_urb, GFP_KERNEL);
if (err != 0)
- dev_dbg(&port->dev, "%s - submit instat urb failed %d\n", __func__,
- err);
+ dev_dbg(&serial->dev->dev, "%s - submit instat urb failed %d\n", __func__, err);
}
if (s_priv->indat_urb != NULL) {
err = usb_submit_urb(s_priv->indat_urb, GFP_KERNEL);
if (err != 0)
- dev_dbg(&port->dev, "%s - submit indat urb failed %d\n", __func__,
- err);
+ dev_dbg(&serial->dev->dev, "%s - submit indat urb failed %d\n", __func__, err);
}
return 0;