iio: Use ktime_get_real_ns()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:04:49 +0000 (21:04 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 22:01:45 +0000 (15:01 -0700)
commitfb31cc153dec0d4bdd9a5d7ce60d61acd04b4304
treedaa34c46b1657c51a89e25ab6efd1c26fe643365
parentd659f9b135fe26b966a6a4ad7281d35d7dbb1366
iio: Use ktime_get_real_ns()

No idea why iio needs wall clock based time stamps, but we can avoid
the timespec conversion dance by using the new interfaces.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/iio/iio.h