projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e95dbb
)
USB: serial: fix tty cleanup-op kernel-doc
author
Johan Hovold
<johan@kernel.org>
Tue, 25 Feb 2020 10:24:21 +0000
(11:24 +0100)
committer
Johan 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/usb-serial.c
b/drivers/usb/serial/usb-serial.c
index dc7a65b9ec982113f5b40dc1fb23c0179b655dac..27e3bb58c872eacbd6a2f121571498ae7d10f356 100644
(file)
--- 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.