mirror of
https://github.com/torvalds/linux.git
synced 2024-09-23 08:23:44 +00:00
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>
This commit is contained in:
parent
5e95dbb621
commit
615e58ccfb
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user