pps: unify timestamp gathering
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>
Thu, 13 Jan 2011 01:00:50 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:19 +0000 (08:03 -0800)
commit6f4229b51106cbc859e9d8209b22c8a2ec749e64
tree346e08800b0f45330e99c9fae0255c73f1666835
parent3003d55b59aa98aeaff2773df69732b27c0cbf6a
pps: unify timestamp gathering

Add a helper function to gather timestamps.  This way clients don't have
to duplicate it.

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>
drivers/pps/clients/pps-ktimer.c
drivers/pps/clients/pps-ldisc.c
drivers/pps/kapi.c
include/linux/pps_kernel.h
include/linux/serial_core.h
include/linux/tty_ldisc.h