aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-09 06:41:54 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-12 15:20:26 -0400
commitdd8e670d2775c02169a3b9e4c8d84c8652342836 (patch)
tree62e9fa60862b7af024e7cf74488853d5adf23d3b /drivers/usb/misc
parent2487e3ee33dd6c4fa3dabbe11bc988883be81f1e (diff)
usb: misc: usb3503: Fix typos in error messages
Signed-off-by: Mark Brown <broonie@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/usb3503.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usb3503.c b/drivers/usb/misc/usb3503.c
index ca0f789d78a3..777102e05c3b 100644
--- a/drivers/usb/misc/usb3503.c
+++ b/drivers/usb/misc/usb3503.c
@@ -140,7 +140,7 @@ static int usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode)
140 break; 140 break;
141 141
142 default: 142 default:
143 dev_err(dev, "unknown mode is request\n"); 143 dev_err(dev, "unknown mode is requested\n");
144 err = -EINVAL; 144 err = -EINVAL;
145 break; 145 break;
146 } 146 }
@@ -233,7 +233,7 @@ static int usb3503_probe(struct usb3503 *hub)
233 233
234 usb3503_switch_mode(hub, hub->mode); 234 usb3503_switch_mode(hub, hub->mode);
235 235
236 dev_info(dev, "%s: probed on %s mode\n", __func__, 236 dev_info(dev, "%s: probed in %s mode\n", __func__,
237 (hub->mode == USB3503_MODE_HUB) ? "hub" : "standby"); 237 (hub->mode == USB3503_MODE_HUB) ? "hub" : "standby");
238 238
239 return 0; 239 return 0;