Skip to contentSkip to conversation

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

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

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

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

Replace mentioning of legacy API by the latest one.

---
 drivers/gpio/gpio-rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-rockchip.c +1 -1
index 200e43a6f4b4..e5de15a2ab9a 100644
@@ -299,7 +299,7 @@ static int rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
 }
 
 /*
- * gpiolib gpio_to_irq callback function. Creates a mapping between a GPIO pin
+ * gpiod_to_irq() callback function. Creates a mapping between a GPIO pin
  * and a virtual IRQ, if not already present.
  */
 static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)
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-rockchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-rockchip.c +1 -2
index 200e43a6f4b4..e5de15a2ab9a 100644
@@ -299,7 +299,7 @@ static int rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
 }
 
 /*
- * gpiolib gpio_to_irq callback function. Creates a mapping between a GPIO pin
+ * gpiod_to_irq() callback function. Creates a mapping between a GPIO pin
  * and a virtual IRQ, if not already present.
  */
 static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)
--
Quoted 2 lines

2.39.0

Applied, thanks!

Bart