serial: xilinx_uartps: Fix kernel doc about .remove()'s return code
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 17 Nov 2023 10:12:37 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Nov 2023 07:23:16 +0000 (07:23 +0000)
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 <michal.simek@amd.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20231117101236.878008-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c

index 6decf2b13340aa1c60313b5bfd83d80d26f33796..920762d7b4a4b2607f6ec9b2b7981af803b65361 100644 (file)
@@ -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)
 {