Skip to content

Commit 615e58c

Browse files
committed
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 <[email protected]>
1 parent 5e95dbb commit 615e58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/serial/usb-serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static void serial_close(struct tty_struct *tty, struct file *filp)
288288

289289
/**
290290
* serial_cleanup - free resources post close/hangup
291-
* @port: port to free up
291+
* @tty: tty to clean up
292292
*
293293
* Do the resource freeing and refcount dropping for the port.
294294
* Avoid freeing the console.

0 commit comments

Comments
 (0)