Re: [PATCH v2] ktime: Use macro NSEC_PER_USEC where appropriate

2013-05-07 Thread John Stultz
On 05/07/2013 01:38 AM, Liu Ying wrote: 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. Signe

[PATCH v2] ktime: Use macro NSEC_PER_USEC where appropriate

2013-05-07 Thread Liu Ying
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 Cc: David S. Miller C