summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2014-09-03 17:53:48 +0200
committerJiri Kosina <jkosina@suse.cz>2014-09-04 10:05:04 +0200
commit83ee73c1795d867f20525a53ea60e55c7b59a373 (patch)
treec3f3b6ea14e95ec4b1c8cba8dcbbed8ab6cc1867
parentf9134be491dec9e6cada46abbfb01982a7afffa8 (diff)
downloadlinux-stable-83ee73c1795d867f20525a53ea60e55c7b59a373.tar.gz
linux-stable-83ee73c1795d867f20525a53ea60e55c7b59a373.tar.bz2
linux-stable-83ee73c1795d867f20525a53ea60e55c7b59a373.zip
tty: doc: Fix grammar in serial/tty
Correct spelling typos in serial/tty Signed-off-by: Richard Genoud <richard.genoud@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--Documentation/serial/tty.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/serial/tty.txt b/Documentation/serial/tty.txt
index 540db41dfd5d..1e52d67d0abf 100644
--- a/Documentation/serial/tty.txt
+++ b/Documentation/serial/tty.txt
@@ -146,7 +146,7 @@ set_termios() Notify the tty driver that the device's termios
driver function is responsible for modifying any
bits in the request it cannot fulfill to indicate
the actual modes being used. A device with no
- hardware capability for change (eg a USB dongle or
+ hardware capability for change (e.g. a USB dongle or
virtual port) can provide NULL for this method.
throttle() Notify the tty driver that input buffers for the
@@ -258,7 +258,7 @@ put_char() - Stuff a single character onto the queue. The
flush_chars() - Ask the kernel to write put_char queue
-write_room() - Return the number of characters tht can be stuffed
+write_room() - Return the number of characters that can be stuffed
into the port buffers without overflow (or less).
The ldisc is responsible for being intelligent
about multi-threading of write_room/write calls