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: io_uring-5.7-2020-04-09~39^2~5^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=615e58ccfbc05a64dddd16db5277fc2b49ed643a;p=linux-block.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 dc7a65b9ec98..27e3bb58c872 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.