usb: gadget: atmel: Fix typo in usb gadget driver register and unregister
Replace "paramter" by "parameter".
Signed-off-by: Zixun LI <admin@hifiphile.com>
Link: https://lore.kernel.org/r/20240725153204.358925-4-admin@hifiphile.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
index 4641638..2e3d8f3 100644
--- a/drivers/usb/gadget/atmel_usba_udc.c
+++ b/drivers/usb/gadget/atmel_usba_udc.c
@@ -1204,7 +1204,7 @@
int ret;
if (!driver || !driver->bind || !driver->setup) {
- log_err("bad paramter\n");
+ log_err("bad parameter\n");
return -EINVAL;
}
@@ -1231,7 +1231,7 @@
struct usba_udc *udc = &controller;
if (!driver || !driver->unbind || !driver->disconnect) {
- log_err("bad paramter\n");
+ log_err("bad parameter\n");
return -EINVAL;
}