]> git.baikalelectronics.ru Git - kernel.git/commit
USB: legotower: use msecs_to_jiffies for time conversion
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 6 Feb 2015 09:58:31 +0000 (04:58 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 15:20:34 +0000 (16:20 +0100)
commit2d2dabc9b6ca51c63401a7c1c2ac9e05cd7d1b9e
tree0b465019b1b1467a9e0813bb761079944b0c0b30
parent514b78af8b12250154d580ae2a9fd3d46ca03ce0
USB: legotower: use msecs_to_jiffies for time conversion

This is only an API consolidation and should make things more readable
it replaces var * HZ / 1000 by msecs_to_jiffies(var).

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/legousbtower.c