From: Mauro Carvalho Chehab Date: Mon, 15 Jun 2020 06:46:47 +0000 (+0200) Subject: gpio: driver.h: fix kernel-doc markup X-Git-Tag: v5.15~3204^2~40^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e012d15a238f24795081ef1e43ffe2859b6538ed;p=platform%2Fkernel%2Flinux-starfive.git gpio: driver.h: fix kernel-doc markup There is one parameter with a wrong name at kernel-doc macro: ./include/linux/gpio/driver.h:499: warning: Function parameter or member 'gc' not described in 'gpiochip_add_data' ./include/linux/gpio/driver.h:499: warning: Excess function parameter 'chip' description in 'gpiochip_add_data' Fix it. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Bartosz Golaszewski --- diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index c4f272a..c11261f3 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -481,7 +481,7 @@ extern int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data, /** * gpiochip_add_data() - register a gpio_chip - * @chip: the chip to register, with chip->base initialized + * @gc: the chip to register, with chip->base initialized * @data: driver-private data associated with this chip * * Context: potentially before irqs will work