From: Zixun LI Date: Thu, 25 Jul 2024 15:31:57 +0000 (+0200) Subject: usb: gadget: atmel: Fix typo in usb gadget driver register and unregister X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=dbbacf19d6310b5b255662ad87c07eb34b73d39d;p=u-boot.git usb: gadget: atmel: Fix typo in usb gadget driver register and unregister Replace "paramter" by "parameter". Signed-off-by: Zixun LI Link: https://lore.kernel.org/r/20240725153204.358925-4-admin@hifiphile.com Signed-off-by: Mattijs Korpershoek --- diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 4641638412..2e3d8f36a2 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -1204,7 +1204,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) int ret; if (!driver || !driver->bind || !driver->setup) { - log_err("bad paramter\n"); + log_err("bad parameter\n"); return -EINVAL; } @@ -1231,7 +1231,7 @@ int usb_gadget_unregister_driver(struct usb_gadget_driver *driver) struct usba_udc *udc = &controller; if (!driver || !driver->unbind || !driver->disconnect) { - log_err("bad paramter\n"); + log_err("bad parameter\n"); return -EINVAL; }