aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-11-17 11:12:37 +0100
committerGreg Kroah-Hartman <[email protected]>2023-11-25 07:23:16 +0000
commit727e08b1a56a60ee9b68ae5c7539cbcfe2cfe552 (patch)
tree313cbc8ddb530400ce78ca0d43dc81f0633cd20f
parentabdea7209becf633d96a71ea3b99062ae7012229 (diff)
serial: xilinx_uartps: Fix kernel doc about .remove()'s return code
Since the driver was converted to use .remove_new() the return function doesn't return a value any more. So remove the obsolete documentation about the return value. Reported-by: Michal Simek <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Acked-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/tty/serial/xilinx_uartps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index 6decf2b13340..920762d7b4a4 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1663,8 +1663,6 @@ err_out_unregister_driver:
/**
* cdns_uart_remove - called when the platform driver is unregistered
* @pdev: Pointer to the platform device structure
- *
- * Return: 0 on success, negative errno otherwise
*/
static void cdns_uart_remove(struct platform_device *pdev)
{