[v1,1/1] gpio: davinci: Do not mention legacy API in the code

Message ID 20230112134645.59232-1-andriy.shevchenko@linux.intel.com
State New
Headers
Series [v1,1/1] gpio: davinci: Do not mention legacy API in the code |

Commit Message

Andy Shevchenko Jan. 12, 2023, 1:46 p.m. UTC
  Replace mentioning of legacy API by the latest one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/gpio/gpio-davinci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bartosz Golaszewski Jan. 13, 2023, 3:18 p.m. UTC | #1
On Thu, Jan 12, 2023 at 2:46 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> Replace mentioning of legacy API by the latest one.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/gpio/gpio-davinci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
> index fa51a91afa54..e1c1b9a527db 100644
> --- a/drivers/gpio/gpio-davinci.c
> +++ b/drivers/gpio/gpio-davinci.c
> @@ -534,7 +534,7 @@ static int davinci_gpio_irq_setup(struct platform_device *pdev)
>         }
>
>         /*
> -        * Arrange gpio_to_irq() support, handling either direct IRQs or
> +        * Arrange gpiod_to_irq() support, handling either direct IRQs or
>          * banked IRQs.  Having GPIOs in the first GPIO bank use direct
>          * IRQs, while the others use banked IRQs, would need some setup
>          * tweaks to recognize hardware which can do that.
> --
> 2.39.0
>

Applied, thanks!

Bart
  

Patch

diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index fa51a91afa54..e1c1b9a527db 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -534,7 +534,7 @@  static int davinci_gpio_irq_setup(struct platform_device *pdev)
 	}
 
 	/*
-	 * Arrange gpio_to_irq() support, handling either direct IRQs or
+	 * Arrange gpiod_to_irq() support, handling either direct IRQs or
 	 * banked IRQs.  Having GPIOs in the first GPIO bank use direct
 	 * IRQs, while the others use banked IRQs, would need some setup
 	 * tweaks to recognize hardware which can do that.