Skip to contentSkip to conversation

gpio: davinci: Do not mention legacy API in the code

PATCH Applied Andy Shevchenko 2 participants 2 messages Jan 12, 2023 – Jan 13, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: davinci: Do not mention legacy API in the code

Replace mentioning of legacy API by the latest one.

---
 drivers/gpio/gpio-davinci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-davinci.c +1 -1
index fa51a91afa54..e1c1b9a527db 100644
@@ -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.
Signature · 1 line
2.39.0
#1 lore raw
Quoted 22 lines · Andy Shevchenko

Replace mentioning of legacy API by the latest one.

---
 drivers/gpio/gpio-davinci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-davinci.c +1 -2
index fa51a91afa54..e1c1b9a527db 100644
@@ -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.
--
Quoted 2 lines

2.39.0

Applied, thanks!

Bart