From: Andy Shevchenko Date: Thu, 12 Jan 2023 13:46:53 +0000 (+0200) Subject: gpio: rockchip: Do not mention legacy API in the code X-Git-Tag: v6.3-rc1~156^2~9 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b0047b90db71d0d555d645745b40f0170e5ff4c7;p=users%2Fdwmw2%2Flinux.git gpio: rockchip: Do not mention legacy API in the code Replace mentioning of legacy API by the latest one. Signed-off-by: Andy Shevchenko Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c index 200e43a6f4b4f..e5de15a2ab9a1 100644 --- a/drivers/gpio/gpio-rockchip.c +++ b/drivers/gpio/gpio-rockchip.c @@ -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)