usb: misc: usb3503: Fix typos in error messages
authorMark Brown <broonie@linaro.org>
Fri, 9 Aug 2013 10:41:54 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 19:20:26 +0000 (12:20 -0700)
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb3503.c

index ca0f789d78a36528d8ac77bc36c3c7a70c754a28..777102e05c3bdc4742649ee4d81c0c51a387955d 100644 (file)
@@ -140,7 +140,7 @@ static int usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode)
                break;
 
        default:
-               dev_err(dev, "unknown mode is request\n");
+               dev_err(dev, "unknown mode is requested\n");
                err = -EINVAL;
                break;
        }
@@ -233,7 +233,7 @@ static int usb3503_probe(struct usb3503 *hub)
 
        usb3503_switch_mode(hub, hub->mode);
 
-       dev_info(dev, "%s: probed on  %s mode\n", __func__,
+       dev_info(dev, "%s: probed in %s mode\n", __func__,
                        (hub->mode == USB3503_MODE_HUB) ? "hub" : "standby");
 
        return 0;