diff mbox series

pinctrl: at91: Fix double word in comments

Message ID 20220825014921.6135-1-dengshaomin@cdjrlc.com
State New
Headers show
Series pinctrl: at91: Fix double word in comments | expand

Commit Message

Shaomin Deng Aug. 25, 2022, 1:49 a.m. UTC
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(-)

Comments

Claudiu Beznea Aug. 25, 2022, 5:42 a.m. UTC | #1
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
>
diff mbox series

Patch

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;