Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8520_port: Fix function param documentation

The parameter is named p while the documentation talks about up.
Fix the doc to be in line with the code.

Fixes: 058bc104f7ca ("serial: 8250: Generalize rs485 software emulation")
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200517215610.2131618-2-heiko@sntech.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Heiko Stuebner and committed by
Greg Kroah-Hartman
f40a6be4 01c38ecf

+1 -1
+1 -1
drivers/tty/serial/8250/8250_port.c
··· 1432 1432 1433 1433 /** 1434 1434 * serial8250_em485_stop_tx() - generic ->rs485_stop_tx() callback 1435 - * @up: uart 8250 port 1435 + * @p: uart 8250 port 1436 1436 * 1437 1437 * Generic callback usable by 8250 uart drivers to stop rs485 transmission. 1438 1438 */