staging: unisys: use msecs_to_jiffies for conversions

This is only an API consolidation to make things more readable.
Instances of  var * HZ / 1000  are replaced by  msecs_to_jiffies(var).

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Nicholas Mc Guire 2015-01-31 12:02:08 +01:00 committed by Greg Kroah-Hartman
parent 1bdee70635
commit 2cc1a1b3ee
1 changed files with 1 additions and 1 deletions

View File

@ -1594,7 +1594,7 @@ parahotplug_next_id(void)
static unsigned long
parahotplug_next_expiration(void)
{
return jiffies + PARAHOTPLUG_TIMEOUT_MS * HZ / 1000;
return jiffies + msecs_to_jiffies(PARAHOTPLUG_TIMEOUT_MS);
}
/*