Skip to contentSkip to conversation

extcon: gpio: Fix typo in comment (cosmetic)

PATCH In review Moritz Fischer 2 participants 2 messages Dec 24, 2015 – Dec 29, 2015 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 extcon: gpio: Fix typo in comment (cosmetic)

---
 drivers/extcon/extcon-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-gpio.c +1 -1
index 279ff8f..d023789 100644
@@ -126,7 +126,7 @@ static int gpio_extcon_probe(struct platform_device *pdev)
 	INIT_DELAYED_WORK(&data->work, gpio_extcon_work);
 
 	/*
-	 * Request the interrput of gpio to detect whether external connector
+	 * Request the interrupt of gpio to detect whether external connector
 	 * is attached or detached.
 	 */
 	ret = devm_request_any_context_irq(&pdev->dev, data->irq,
Signature · 1 line
2.4.3
maintainer
#1 lore raw

Hi Moritz,

Quoted 11 lines · Moritz Fischer
---
 drivers/extcon/extcon-gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-gpio.c +0 -0
index 279ff8f..d023789 100644

drivers/extcon/extcon-gpio.c static int gpio_extcon_probe(struct platform_device *pdev) · line 132

Quoted 8 lines
drivers/extcon/extcon-gpio.c +1 -1
@@ -126,7 +126,7 @@ static int gpio_extcon_probe(struct platform_device *pdev)
 	INIT_DELAYED_WORK(&data->work, gpio_extcon_work);
 
 	/*
-	 * Request the interrput of gpio to detect whether external connector
+	 * Request the interrupt of gpio to detect whether external connector
 	 * is attached or detached.
 	 */
 	ret = devm_request_any_context_irq(&pdev->dev, data->irq,

Applied it.

I drop the '(cosmetic)' word from patch title and add the simple patch description as following:

"
This patch fixes the typo in comment of extcon-gpio.c driver.
- 'interrput' -> 'interrupt'
"

Thanks,
Chanwoo Choi