summaryrefslogtreecommitdiff
path: root/arch/arm/common
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-07-17 01:04:47 +0400
committerJohn Stultz <john.stultz@linaro.org>2014-07-24 02:01:44 +0400
commitd659f9b135fe26b966a6a4ad7281d35d7dbb1366 (patch)
tree3416ee5247b9dae698bedf918ecfa7e96c2d473b /arch/arm/common
parent5eaaed4fe23247f0784edc2973f04134f8180251 (diff)
downloadlinux-d659f9b135fe26b966a6a4ad7281d35d7dbb1366.tar.xz
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 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions