From: Andy Shevchenko Date: Mon, 10 May 2021 19:46:30 +0000 (+0300) Subject: gpio: xilinx: Correct kernel doc for xgpio_probe() X-Git-Tag: accepted/tizen/unified/20230118.172025~7030^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0579474effff6a139768b300d8439c2327b3848;p=platform%2Fkernel%2Flinux-rpi.git gpio: xilinx: Correct kernel doc for xgpio_probe() Kernel doc validator complains: .../gpio-xilinx.c:556: warning: expecting prototype for xgpio_of_probe(). Prototype was for xgpio_probe() instead Correct as suggested by changing the name of the function in the doc.. Fixes: 749564ffd52d ("gpio/xilinx: Convert the driver to platform device interface") Signed-off-by: Andy Shevchenko Tested-by: Neeli Srinivas Reviewed-by: Michal Simek Signed-off-by: Bartosz Golaszewski --- diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c index b411d31..136557e 100644 --- a/drivers/gpio/gpio-xilinx.c +++ b/drivers/gpio/gpio-xilinx.c @@ -542,7 +542,7 @@ static void xgpio_irqhandler(struct irq_desc *desc) } /** - * xgpio_of_probe - Probe method for the GPIO device. + * xgpio_probe - Probe method for the GPIO device. * @pdev: pointer to the platform device * * Return: