diff mbox series

[next] usb: gadget: udc-xilinx: Remove trailing space after \n newline

Message ID 20240901162357.144222-1-colin.i.king@gmail.com (mailing list archive)
State Accepted
Commit b24301364a9471fbca86d41fa0982ae4e038140d
Headers show
Series [next] usb: gadget: udc-xilinx: Remove trailing space after \n newline | expand

Commit Message

Colin Ian King Sept. 1, 2024, 4:23 p.m. UTC
There is a extraneous space after a newline in a dev_dbg message.
Remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pandey, Radhey Shyam Sept. 5, 2024, 9:34 a.m. UTC | #1
> -----Original Message-----
> From: Colin Ian King <colin.i.king@gmail.com>
> Sent: Sunday, September 1, 2024 9:54 PM
> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>; Michal Simek
> <michal.simek@amd.com>; linux-usb@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org
> Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: [PATCH][next] usb: gadget: udc-xilinx: Remove trailing space after \n
> newline
> 
> There is a extraneous space after a newline in a dev_dbg message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Thanks!
> ---
>  drivers/usb/gadget/udc/udc-xilinx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/gadget/udc/udc-xilinx.c
> b/drivers/usb/gadget/udc/udc-xilinx.c
> index 74590f93ea61..ebc45565c33e 100644
> --- a/drivers/usb/gadget/udc/udc-xilinx.c
> +++ b/drivers/usb/gadget/udc/udc-xilinx.c
> @@ -947,7 +947,7 @@ static int xudc_ep_disable(struct usb_ep *_ep)
>  	ep->desc = NULL;
>  	ep->ep_usb.desc = NULL;
> 
> -	dev_dbg(udc->dev, "USB Ep %d disable\n ", ep->epnumber);
> +	dev_dbg(udc->dev, "USB Ep %d disable\n", ep->epnumber);
>  	/* Disable the endpoint.*/
>  	epcfg = udc->read_fn(udc->addr + ep->offset);
>  	epcfg &= ~XUSB_EP_CFG_VALID_MASK;
> --
> 2.39.2
diff mbox series

Patch

diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c
index 74590f93ea61..ebc45565c33e 100644
--- a/drivers/usb/gadget/udc/udc-xilinx.c
+++ b/drivers/usb/gadget/udc/udc-xilinx.c
@@ -947,7 +947,7 @@  static int xudc_ep_disable(struct usb_ep *_ep)
 	ep->desc = NULL;
 	ep->ep_usb.desc = NULL;
 
-	dev_dbg(udc->dev, "USB Ep %d disable\n ", ep->epnumber);
+	dev_dbg(udc->dev, "USB Ep %d disable\n", ep->epnumber);
 	/* Disable the endpoint.*/
 	epcfg = udc->read_fn(udc->addr + ep->offset);
 	epcfg &= ~XUSB_EP_CFG_VALID_MASK;