From: Johan Hovold Date: Tue, 25 Feb 2020 10:24:21 +0000 (+0100) Subject: USB: serial: fix tty cleanup-op kernel-doc X-Git-Tag: v5.7-rc1~192^2~5^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=615e58ccfbc05a64dddd16db5277fc2b49ed643a;p=thirdparty%2Fkernel%2Flinux.git USB: serial: fix tty cleanup-op kernel-doc The tty cleanup operation is called with a struct tty as its sole parameter. Signed-off-by: Johan Hovold --- diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index dc7a65b9ec982..27e3bb58c872e 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c @@ -288,7 +288,7 @@ static void serial_close(struct tty_struct *tty, struct file *filp) /** * serial_cleanup - free resources post close/hangup - * @port: port to free up + * @tty: tty to clean up * * Do the resource freeing and refcount dropping for the port. * Avoid freeing the console.