From: Thomas Gleixner Date: Wed, 16 Jul 2014 21:04:47 +0000 (+0000) Subject: hwmon: ibmaem: Use ktime_get_ns() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~152^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d659f9b135fe26b966a6a4ad7281d35d7dbb1366;p=pandora-kernel.git 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 Cc: Jean Delvare Acked-by: Jean Delvare Signed-off-by: John Stultz --- Reading git-diff-tree failed