From dbbacf19d6310b5b255662ad87c07eb34b73d39d Mon Sep 17 00:00:00 2001 From: Zixun LI Date: Thu, 25 Jul 2024 17:31:57 +0200 Subject: [PATCH] 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 --- drivers/usb/gadget/atmel_usba_udc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5