USB: serial: fix tty cleanup-op kernel-doc
authorJohan Hovold <johan@kernel.org>
Tue, 25 Feb 2020 10:24:21 +0000 (11:24 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 11 Mar 2020 08:39:01 +0000 (09:39 +0100)
The tty cleanup operation is called with a struct tty as its sole
parameter.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/usb-serial.c

index dc7a65b9ec982113f5b40dc1fb23c0179b655dac..27e3bb58c872eacbd6a2f121571498ae7d10f356 100644 (file)
@@ -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.