From: Zixun LI <admin@hifiphile.com>
To: Lukasz Majewski <lukma@denx.de>,
Mattijs Korpershoek <mkorpershoek@baylibre.com>,
Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>
Cc: Zixun LI <admin@hifiphile.com>, u-boot@lists.denx.de
Subject: [PATCH v4 3/7] usb: gadget: atmel: Fix typo in usb gadget driver register and unregister
Date: Thu, 25 Jul 2024 17:31:57 +0200 [thread overview]
Message-ID: <20240725153204.358925-4-admin@hifiphile.com> (raw)
In-Reply-To: <20240725153204.358925-1-admin@hifiphile.com>
Replace "paramter" by "parameter".
Signed-off-by: Zixun LI <admin@hifiphile.com>
---
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.45.2
next prev parent reply other threads:[~2024-07-25 17:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 15:31 [PATCH v4 0/7] usb: gadget: atmel: Code refactor and DM_USB_GADGET support Zixun LI
2024-07-25 15:31 ` [PATCH v4 1/7] usb: gadget: atmel: Sort includes Zixun LI
2024-07-25 15:31 ` [PATCH v4 2/7] usb: gadget: atmel: Replace printf() and pr_err() by log_err() Zixun LI
2024-07-25 15:31 ` Zixun LI [this message]
2024-07-25 15:31 ` [PATCH v4 4/7] usb: gadget: atmel: Move usba_udc_pdata() with other static functions Zixun LI
2024-07-25 15:31 ` [PATCH v4 5/7] usb: gadget: atmel: Rename atmel_usba_start()/_stop() to usba_udc_enable()/_disable() Zixun LI
2024-07-25 15:32 ` [PATCH v4 6/7] usb: gadget: atmel: Add attach/detach support Zixun LI
2024-07-25 15:32 ` [PATCH v4 7/7] usb: gadget: atmel: Add DM_USB_GADGET support Zixun LI
2024-07-30 9:13 ` Mattijs Korpershoek
2024-07-25 18:24 ` [PATCH v4 0/7] usb: gadget: atmel: Code refactor and " Marek Vasut
2024-07-25 18:48 ` Zixun LI
2024-07-25 18:57 ` Marek Vasut
2024-07-26 9:34 ` Mattijs Korpershoek
2024-08-06 12:59 ` Mattijs Korpershoek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240725153204.358925-4-admin@hifiphile.com \
--to=admin@hifiphile.com \
--cc=lukma@denx.de \
--cc=marex@denx.de \
--cc=mkorpershoek@baylibre.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.