input: evdev: Use ktime_mono_to_real()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:25 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 17:18:02 +0000 (10:18 -0700)
commit5cac2f4d1c5f3eb3d981fab85d926d19f7b6b889
tree452262d230e4b5a2df67e4c908815f8ffc8b63f4
parent53cc7bad37fcb90e47ef729ef9818a2ed93ee862
input: evdev: Use ktime_mono_to_real()

Convert the monotonic timestamp with ktime_mono_to_real() in
evdev_events().

In evdev_queue_syn_dropped() we can call either ktime_get() or
ktime_get_real() depending on the clkid. No point in having two calls
for CLOCK_REALTIME.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/input/evdev.c