Re: [PATCH] extconn: remove extraneous space before a debug message

From: Chanwoo Choi
Date: Wed Jun 22 2022 - 16:00:40 EST


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@xxxxxxxxx>
> ---
> 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