Skip to content

Commit b0047b9

Browse files
andy-shevBartosz Golaszewski
authored andcommitted
gpio: rockchip: Do not mention legacy API in the code
Replace mentioning of legacy API by the latest one. Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent a060dc6 commit b0047b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-rockchip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static int rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
299299
}
300300

301301
/*
302-
* gpiolib gpio_to_irq callback function. Creates a mapping between a GPIO pin
302+
* gpiod_to_irq() callback function. Creates a mapping between a GPIO pin
303303
* and a virtual IRQ, if not already present.
304304
*/
305305
static int rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset)

0 commit comments

Comments
 (0)