diff options
author | Abhilash Jindal <klock.android@gmail.com> | 2016-01-27 23:46:02 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-01 21:16:13 +0100 |
commit | 17a2f46c3d8877fe2a0b6ff391d1df30e67892a6 (patch) | |
tree | b9157688a9f3e3ebe04306ea2db4c5746708db50 /fs/read_write.c | |
parent | iio: imu: Fix dependencies for !HAS_IOMEM archs (diff) | |
download | linux-17a2f46c3d8877fe2a0b6ff391d1df30e67892a6.tar.xz linux-17a2f46c3d8877fe2a0b6ff391d1df30e67892a6.zip |
iio: dht11: Use boottime
Wall time obtained from ktime_get_real_ns is susceptible to sudden jumps due to
user setting the time or due to NTP. Boot time is constantly increasing time
better suited for comparing two timestamps.
Signed-off-by: Abhilash Jindal <klock.android@gmail.com>
Reviewed-by: Harald Geyer <harald@ccbib.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions