[PATCH] usb: gadget: udc: bdc: fix comment typo

From: shitao
Date: Tue Dec 12 2023 - 06:18:22 EST


Fix comment typo in bdc_core.c file.
"dynamic" is misspelled as "dyanmic".

Reported-by: k2ci <kernel-bot@xxxxxxxxxx>
Signed-off-by: shitao <shitao@xxxxxxxxxx>
---
Hi,
according to your suggestion, I have split it into two patches and added some simple instructions.
This is a change that fixes the misspelling of "dynamic" in bdc_core.c file.
thanks.
drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index 35a652807fca..874122f8baa3 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
@@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc)
return ret;
}

-/* Allocate all the dyanmic memory */
+/* Allocate all the dynamic memory */
static int bdc_mem_alloc(struct bdc *bdc)
{
u32 page_size;
--
2.34.1