mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
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>
This commit is contained in:
parent
2487e3ee33
commit
dd8e670d27
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user