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

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>
This commit is contained in:
Andy Shevchenko 2023-01-12 15:46:53 +02:00 committed by Bartosz Golaszewski
parent a060dc6620
commit b0047b90db
1 changed files with 1 additions and 1 deletions

View File

@ -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. * and a virtual IRQ, if not already present.
*/ */
static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)