]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: gadget: atmel: Fix typo in usb gadget driver register and unregister
authorZixun LI <admin@hifiphile.com>
Thu, 25 Jul 2024 15:31:57 +0000 (17:31 +0200)
committerMattijs Korpershoek <mkorpershoek@baylibre.com>
Tue, 6 Aug 2024 12:58:14 +0000 (14:58 +0200)
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>
drivers/usb/gadget/atmel_usba_udc.c

index 46416384125650a855539f7feab0eb8eab887acb..2e3d8f36a2bb92f6529f03eec1db67c713c86d59 100644 (file)
@@ -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;
        }