Commit dd8e670d authored by Mark Brown's avatar Mark Brown Committed by Greg Kroah-Hartman

usb: misc: usb3503: Fix typos in error messages

Signed-off-by: default avatarMark Brown <broonie@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2487e3ee
...@@ -140,7 +140,7 @@ static int usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode) ...@@ -140,7 +140,7 @@ static int usb3503_switch_mode(struct usb3503 *hub, enum usb3503_mode mode)
break; break;
default: default:
dev_err(dev, "unknown mode is request\n"); dev_err(dev, "unknown mode is requested\n");
err = -EINVAL; err = -EINVAL;
break; break;
} }
...@@ -233,7 +233,7 @@ static int usb3503_probe(struct usb3503 *hub) ...@@ -233,7 +233,7 @@ static int usb3503_probe(struct usb3503 *hub)
usb3503_switch_mode(hub, hub->mode); 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"); (hub->mode == USB3503_MODE_HUB) ? "hub" : "standby");
return 0; return 0;
......
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