diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-08 16:11:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-11 03:14:25 +0100 |
commit | b3e7766bc459af941c311a3cb03f2082b2fe60ba (patch) | |
tree | 6fac9e3c33a7efd710239f4302874a86cf035aca /drivers/media/usb/usbvision/usbvision-video.c | |
parent | Linux 3.19 (diff) | |
download | linux-b3e7766bc459af941c311a3cb03f2082b2fe60ba.tar.xz linux-b3e7766bc459af941c311a3cb03f2082b2fe60ba.zip |
spi: bcm53xx: use msecs_to_jiffies for conversion
Converting milliseconds to jiffies by "val * HZ / 1000" is technically
ok but msecs_to_jiffies(val) is the cleaner solution and handles all
corner cases correctly.
This is only an API consolidation and should make things more readable
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/media/usb/usbvision/usbvision-video.c')
0 files changed, 0 insertions, 0 deletions