Skip to content

Commit a057947

Browse files
andy-shevbrgl
authored andcommitted
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: 749564f ("gpio/xilinx: Convert the driver to platform device interface") Signed-off-by: Andy Shevchenko <[email protected]> Tested-by: Neeli Srinivas <[email protected]> Reviewed-by: Michal Simek <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 1e948b1 commit a057947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio-xilinx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ static void xgpio_irqhandler(struct irq_desc *desc)
542542
}
543543

544544
/**
545-
* xgpio_of_probe - Probe method for the GPIO device.
545+
* xgpio_probe - Probe method for the GPIO device.
546546
* @pdev: pointer to the platform device
547547
*
548548
* Return:

0 commit comments

Comments
 (0)