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

From: Bartosz Golaszewski
Date: Fri Jan 13 2023 - 10:26:37 EST


On Thu, Jan 12, 2023 at 2:46 PM Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>
> Replace mentioning of legacy API by the latest one.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> 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