linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extconn: remove extraneous space before a debug message
@ 2022-06-19  8:42 Colin Ian King
  2022-06-22 20:00 ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2022-06-19  8:42 UTC (permalink / raw)
  To: MyungJoo Ham, Chanwoo Choi; +Cc: kernel-janitors, linux-kernel

There is an extreneous space before a dev_dbg message, remove it.

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

diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
index d2c1a8b89c08..32f8b541770b 100644
--- a/drivers/extcon/extcon-palmas.c
+++ b/drivers/extcon/extcon-palmas.c
@@ -107,7 +107,7 @@ static irqreturn_t palmas_id_irq_handler(int irq, void *_palmas_usb)
 				(id_src & PALMAS_USB_ID_INT_SRC_ID_GND)) {
 		palmas_usb->linkstat = PALMAS_USB_STATE_ID;
 		extcon_set_state_sync(edev, EXTCON_USB_HOST, true);
-		dev_dbg(palmas_usb->dev, " USB-HOST cable is attached\n");
+		dev_dbg(palmas_usb->dev, "USB-HOST cable is attached\n");
 	}
 
 	return IRQ_HANDLED;
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] extconn: remove extraneous space before a debug message
  2022-06-19  8:42 [PATCH] extconn: remove extraneous space before a debug message Colin Ian King
@ 2022-06-22 20:00 ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2022-06-22 20:00 UTC (permalink / raw)
  To: Colin Ian King, MyungJoo Ham, Chanwoo Choi; +Cc: kernel-janitors, linux-kernel

On 22. 6. 19. 17:42, Colin Ian King wrote:
> There is an extreneous space before a dev_dbg message, remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  drivers/extcon/extcon-palmas.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
> index d2c1a8b89c08..32f8b541770b 100644
> --- a/drivers/extcon/extcon-palmas.c
> +++ b/drivers/extcon/extcon-palmas.c
> @@ -107,7 +107,7 @@ static irqreturn_t palmas_id_irq_handler(int irq, void *_palmas_usb)
>  				(id_src & PALMAS_USB_ID_INT_SRC_ID_GND)) {
>  		palmas_usb->linkstat = PALMAS_USB_STATE_ID;
>  		extcon_set_state_sync(edev, EXTCON_USB_HOST, true);
> -		dev_dbg(palmas_usb->dev, " USB-HOST cable is attached\n");
> +		dev_dbg(palmas_usb->dev, "USB-HOST cable is attached\n");
>  	}
>  
>  	return IRQ_HANDLED;

Fix the wrong word on patch title and use captital letter of first char as following:
- extconn: remove extraneous space before a debug message
-> extcon: Remove extraneous space before a debug message

Applied it.

-- 
Best Regards,
Samsung Electronics
Chanwoo Choi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-22 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-19  8:42 [PATCH] extconn: remove extraneous space before a debug message Colin Ian King
2022-06-22 20:00 ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).