2015-12-24 05:34:20

by Moritz Fischer

[permalink] [raw]
Subject: [PATCH v2] extcon: gpio: Fix typo in comment (cosmetic)

Signed-off-by: Moritz Fischer <[email protected]>
---
drivers/extcon/extcon-gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
index 279ff8f..d023789 100644
--- a/drivers/extcon/extcon-gpio.c
+++ b/drivers/extcon/extcon-gpio.c
@@ -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,
--
2.4.3


2015-12-29 00:32:36

by Chanwoo Choi

[permalink] [raw]
Subject: Re: [PATCH v2] extcon: gpio: Fix typo in comment (cosmetic)

Hi Moritz,

On 2015년 12월 24일 14:34, Moritz Fischer wrote:
> Signed-off-by: Moritz Fischer <[email protected]>
> ---
> drivers/extcon/extcon-gpio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c
> index 279ff8f..d023789 100644
> --- a/drivers/extcon/extcon-gpio.c
> +++ b/drivers/extcon/extcon-gpio.c
> @@ -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