Skip to contentSkip to conversation

extconn: remove extraneous space before a debug message

PATCH In review Colin Ian King 2 participants 2 messages Jun 19, 2022 – Jun 22, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extconn: remove extraneous space before a debug message

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

---
 drivers/extcon/extcon-palmas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-palmas.c +1 -1
index d2c1a8b89c08..32f8b541770b 100644
@@ -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;
Signature · 1 line
2.35.3
#1 lore raw
Quoted 12 lines · Colin Ian King

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

---
 drivers/extcon/extcon-palmas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-palmas.c +0 -0
index d2c1a8b89c08..32f8b541770b 100644

drivers/extcon/extcon-palmas.c static irqreturn_t palmas_id_irq_handler(int irq, void *_palmas_usb) · line 113

Quoted 8 lines
drivers/extcon/extcon-palmas.c +1 -1
@@ -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.

Signature · 3 lines
Best Regards,
Samsung Electronics
Chanwoo Choi