ktime: Use macro NSEC_PER_USEC where appropriate
authorLiu Ying <Ying.Liu@freescale.com>
Tue, 7 May 2013 08:38:40 +0000 (16:38 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 28 May 2013 21:00:57 +0000 (14:00 -0700)
commita44b8bd6072ac82fc49af941de8c1ac85d94852d
tree4a22da9a515052ac2f87af4129353fed206f80f9
parent1eaff67266b6b6c97bbd33cf2c20577822836413
ktime: Use macro NSEC_PER_USEC where appropriate

We've got the macro NSEC_PER_USEC defined in header file
include/linux/time.h. To make the code decent, this patch
replaces the immediate number 1000 to convert bewteen a
time value in microseconds and one in nanoseconds with the
macro NSEC_PER_USEC.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Daniel Borkmann <dborkman@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/ktime.h