diff options
author | Johan Hovold <johan@kernel.org> | 2019-04-18 18:05:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 11:58:56 +0200 |
commit | 8daa89e099708db1ffc694c812cb3c0737f1e22b (patch) | |
tree | 2f91586390abf73293433debd9302bce5488d266 /drivers/tty | |
parent | tty: serial_core: fix error code returned by uart_register_driver() (diff) | |
download | linux-8daa89e099708db1ffc694c812cb3c0737f1e22b.tar.xz linux-8daa89e099708db1ffc694c812cb3c0737f1e22b.zip |
tty: update obsolete termios comment
Update an obsolete comment referring to the termios_locked structure
which was removed over a decade ago by commit fe6e29fdb1a7 ("tty:
simplify ktermios allocation").
While at it, fix the "Thus" typo.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 5fa250157025..033ac7e6a70d 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -1173,7 +1173,7 @@ static struct tty_struct *tty_driver_lookup_tty(struct tty_driver *driver, * tty_init_termios - helper for termios setup * @tty: the tty to set up * - * Initialise the termios structures for this tty. Thus runs under + * Initialise the termios structure for this tty. This runs under * the tty_mutex currently so we can be relaxed about ordering. */ |