summaryrefslogtreecommitdiffstats
path: root/Documentation/serial
diff options
context:
space:
mode:
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>2011-01-13 02:00:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 17:03:20 +0100
commit12f9b1f9c11700893a7b453705d95b260d78f268 (patch)
tree49cd6a357b37d5f1e4ff02ec08192de381cc8509 /Documentation/serial
parentpps: simplify conditions a bit (diff)
downloadlinux-12f9b1f9c11700893a7b453705d95b260d78f268.tar.xz
linux-12f9b1f9c11700893a7b453705d95b260d78f268.zip
pps: timestamp is always passed to dcd_change()
Remove the code that gatheres timestamp in pps_tty_dcd_change() in case passed ts parameter is NULL because it never happens in the current code. Fix comments as well. Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> Acked-by: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/serial')
-rw-r--r--Documentation/serial/tty.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/serial/tty.txt b/Documentation/serial/tty.txt
index 7c900507279f..540db41dfd5d 100644
--- a/Documentation/serial/tty.txt
+++ b/Documentation/serial/tty.txt
@@ -107,7 +107,7 @@ write_wakeup() - May be called at any point between open and close.
dcd_change() - Report to the tty line the current DCD pin status
changes and the relative timestamp. The timestamp
- can be NULL.
+ cannot be NULL.
Driver Access