USB: serial: keyspan: fix up some compiler warnings
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 23:34:21 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2012 23:34:21 +0000 (16:34 -0700)
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>
drivers/usb/serial/keyspan.c

index 0d37581fabb179f465fd750151d8ba8ad7585f01..1635f5062f002bcaa400e4446fdb1d29b30e6dea 100644 (file)
@@ -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;