summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-16 21:04:47 +0000
committerJohn Stultz <john.stultz@linaro.org>2014-07-23 15:01:44 -0700
commitd659f9b135fe26b966a6a4ad7281d35d7dbb1366 (patch)
tree3416ee5247b9dae698bedf918ecfa7e96c2d473b /include
parent5eaaed4fe23247f0784edc2973f04134f8180251 (diff)
downloadlinux-d659f9b135fe26b966a6a4ad7281d35d7dbb1366.tar.bz2
hwmon: ibmaem: Use ktime_get_ns()
Using the wall clock time for delta time calculations is wrong to begin with because wall clock time can be set from userspace and NTP. Such data wants to be based on clock monotonic. The calculations also are done on a nanosecond basis. Use the nanoseconds based interface right away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Jean Delvare <jdelvare@suse.de> Acked-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions