diff options
author | Abhilash Jindal <klock.android@gmail.com> | 2016-01-27 17:46:02 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-02-01 20:16:13 +0000 |
commit | 17a2f46c3d8877fe2a0b6ff391d1df30e67892a6 (patch) | |
tree | b9157688a9f3e3ebe04306ea2db4c5746708db50 /drivers/staging/iio | |
parent | ddeb35cbd6221751f0197ffaa9500da31e8337f4 (diff) |
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 'drivers/staging/iio')
0 files changed, 0 insertions, 0 deletions