linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: at91: Fix double word in comments
@ 2022-08-25  1:49 Shaomin Deng
  2022-08-25  5:42 ` Claudiu.Beznea
  0 siblings, 1 reply; 2+ messages in thread
From: Shaomin Deng @ 2022-08-25  1:49 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, linux-kernel
  Cc: ludovic.desroches, nicolas.ferre, alexandre.belloni,
	claudiu.beznea, jgross, sstabellini, oleksandr_tyshchenko,
	Shaomin Deng

Delete the rebundant word "the" in comments.

Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
 drivers/pinctrl/pinctrl-at91.c        | 2 +-
 drivers/xen/xen-pciback/pciback_ops.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index d91a010e65f5..f1234e719e58 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -1748,7 +1748,7 @@ static int at91_gpio_of_irq_setup(struct platform_device *pdev,
 	writel_relaxed(~0, at91_gpio->regbase + PIO_IDR);
 
 	/*
-	 * Let the generic code handle this edge IRQ, the the chained
+	 * Let the generic code handle this edge IRQ, the chained
 	 * handler will perform the actual work of handling the parent
 	 * interrupt.
 	 */
diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c
index e38b43b5065e..52da75bf8485 100644
--- a/drivers/xen/xen-pciback/pciback_ops.c
+++ b/drivers/xen/xen-pciback/pciback_ops.c
@@ -160,7 +160,8 @@ int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev,
 	}
 
 	/* The value the guest needs is actually the IDT vector, not the
-	 * local domain's IRQ number. */
+	 * local domain's IRQ number.
+	 */
 
 	op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0;
 
-- 
2.35.1


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

* Re: [PATCH] pinctrl: at91: Fix double word in comments
  2022-08-25  1:49 [PATCH] pinctrl: at91: Fix double word in comments Shaomin Deng
@ 2022-08-25  5:42 ` Claudiu.Beznea
  0 siblings, 0 replies; 2+ messages in thread
From: Claudiu.Beznea @ 2022-08-25  5:42 UTC (permalink / raw)
  To: dengshaomin, linus.walleij, linux-gpio, linux-kernel
  Cc: Ludovic.Desroches, Nicolas.Ferre, alexandre.belloni, jgross,
	sstabellini, oleksandr_tyshchenko

On 25.08.2022 04:49, Shaomin Deng wrote:
> [Some people who received this message don't often get email from dengshaomin@cdjrlc.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Delete the rebundant word "the" in comments.
> 
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
> ---
>  drivers/pinctrl/pinctrl-at91.c        | 2 +-
>  drivers/xen/xen-pciback/pciback_ops.c | 3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
> index d91a010e65f5..f1234e719e58 100644
> --- a/drivers/pinctrl/pinctrl-at91.c
> +++ b/drivers/pinctrl/pinctrl-at91.c
> @@ -1748,7 +1748,7 @@ static int at91_gpio_of_irq_setup(struct platform_device *pdev,
>         writel_relaxed(~0, at91_gpio->regbase + PIO_IDR);
> 
>         /*
> -        * Let the generic code handle this edge IRQ, the the chained
> +        * Let the generic code handle this edge IRQ, the chained
>          * handler will perform the actual work of handling the parent
>          * interrupt.
>          */
> diff --git a/drivers/xen/xen-pciback/pciback_ops.c b/drivers/xen/xen-pciback/pciback_ops.c
> index e38b43b5065e..52da75bf8485 100644
> --- a/drivers/xen/xen-pciback/pciback_ops.c
> +++ b/drivers/xen/xen-pciback/pciback_ops.c
> @@ -160,7 +160,8 @@ int xen_pcibk_enable_msi(struct xen_pcibk_device *pdev,
>         }
> 
>         /* The value the guest needs is actually the IDT vector, not the
> -        * local domain's IRQ number. */
> +        * local domain's IRQ number.
> +        */

This should go in a different patch.

> 
>         op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0;
> 
> --
> 2.35.1
> 


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

end of thread, other threads:[~2022-08-25  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-25  1:49 [PATCH] pinctrl: at91: Fix double word in comments Shaomin Deng
2022-08-25  5:42 ` Claudiu.Beznea

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).