diff mbox series

[2/2] USB: serial: fix tty cleanup op kernel-doc

Message ID 20200225102421.18262-3-johan@kernel.org (mailing list archive)
State Mainlined
Commit 615e58ccfbc05a64dddd16db5277fc2b49ed643a
Headers show
Series USB: serial: clean up some kernel doc | expand

Commit Message

Johan Hovold Feb. 25, 2020, 10:24 a.m. UTC
The tty cleanup operation is called with a struct tty as it's sole
parameter.

Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/usb/serial/usb-serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Johan Hovold Feb. 25, 2020, 10:27 a.m. UTC | #1
On Tue, Feb 25, 2020 at 11:24:21AM +0100, Johan Hovold wrote:
> The tty cleanup operation is called with a struct tty as it's sole

I'll fix the 'its' typo when applying...

> parameter.

Johan
diff mbox series

Patch

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.