staging: comedi: comedi_test: remove nano_per_micro
authorIan Abbott <abbotti@mev.co.uk>
Tue, 27 Oct 2015 16:59:12 +0000 (16:59 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2015 23:58:36 +0000 (08:58 +0900)
commit87f64803ca9fc4d4748a648a69532dcb52f7fc6a
tree62ff6242465576a186d7c3d3379d44754d6384fd
parent19e86985b08e2470aeb805f71d2e2ebf19bcdc95
staging: comedi: comedi_test: remove nano_per_micro

The `static const int nano_per_micro` variable is set to 1000, the
number of nanoseconds in a microsecond.  Remove it and use the
`NSEC_PER_USEC` macro from <linux/time.h> instead.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/comedi_test.c