gpio: davinci: Do not mention legacy API in the code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jan 2023 13:46:45 +0000 (15:46 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jan 2023 14:55:29 +0000 (15:55 +0100)
Replace mentioning of legacy API by the latest one.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-davinci.c

index fa51a91afa54fd28dff649198bc8218cf9d6fc9f..e1c1b9a527dbb660f2b2926fded6f81c7fba5e25 100644 (file)
@@ -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.