aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-xilinx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2021-05-10 19:46:30 +0000
committerBartosz Golaszewski <[email protected]>2021-05-12 11:54:53 +0000
commita0579474effff6a139768b300d8439c2327b3848 (patch)
tree9c376e0bd235fe1943b8e4ab294f62ea57211a1d /drivers/gpio/gpio-xilinx.c
parentgpio: cadence: Add missing MODULE_DEVICE_TABLE (diff)
downloadkernel-a0579474effff6a139768b300d8439c2327b3848.tar.gz
kernel-a0579474effff6a139768b300d8439c2327b3848.zip
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 <[email protected]> Tested-by: Neeli Srinivas <[email protected]> Reviewed-by: Michal Simek <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-xilinx.c')
-rw-r--r--drivers/gpio/gpio-xilinx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-xilinx.c b/drivers/gpio/gpio-xilinx.c
index b411d3156e0b..136557e7dd3c 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: