Re: [PATCH] irda: use msecs_to_jiffies for conversions

2015-01-30 Thread David Miller
From: Nicholas Mc Guire Date: Thu, 29 Jan 2015 18:22:51 +0100 > This is only an API consolidation and should make things more readable > it replaces var * HZ / 1000 constructs by msecs_to_jiffies(var). > > Signed-off-by: Nicholas Mc Guire Applied to net-next, thanks. -- To unsubscribe from

Re: [PATCH] irda: use msecs_to_jiffies for conversions

2015-01-30 Thread David Miller
From: Nicholas Mc Guire der.h...@hofr.at Date: Thu, 29 Jan 2015 18:22:51 +0100 This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 constructs by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire der.h...@hofr.at Applied to net-next,

[PATCH] irda: use msecs_to_jiffies for conversions

2015-01-29 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 constructs by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Converting milliseconds to jiffies by val * HZ / 1000 is technically not wrong but msecs_to_jiffies(val) is the cleaner

[PATCH] irda: use msecs_to_jiffies for conversions

2015-01-29 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 constructs by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Converting milliseconds to jiffies by val * HZ / 1000 is technically not wrong but