summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-02-25 11:24:21 +0100
committerJohan Hovold <johan@kernel.org>2020-03-11 09:39:01 +0100
commit615e58ccfbc05a64dddd16db5277fc2b49ed643a (patch)
tree98d24c89b33cab174f2ac4aa4e6a0149b11c07d8 /drivers/usb/serial/usb-serial.c
parent5e95dbb62171399196a6c93426a4f355463bfbfc (diff)
downloadlinux-stable-615e58ccfbc05a64dddd16db5277fc2b49ed643a.tar.gz
linux-stable-615e58ccfbc05a64dddd16db5277fc2b49ed643a.tar.bz2
linux-stable-615e58ccfbc05a64dddd16db5277fc2b49ed643a.zip
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 <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/usb-serial.c')
-rw-r--r--drivers/usb/serial/usb-serial.c2
1 files changed, 1 insertions, 1 deletions
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.