Messages in this thread | | | Date | Sun, 5 Apr 2015 18:05:50 -0700 | From | Brian Norris <> | Subject | Re: [PATCH] mtd: fsl_ifc_nand: use msecs_to_jiffies for time conversion |
| |
On Fri, Mar 13, 2015 at 07:23:47AM -0400, Nicholas Mc Guire wrote: > This is only an API consolidation and should make things more readable > it replaces var * HZ / 1000 by msecs_to_jiffies(var) which helps readability > and also handles all corner-cases properly. > > Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Pushed to l2-mtd.git.
I'm not sure the objections about an extra function call are important right now; if they are, then it shouldn't be too hard to patch in a __builtin_constant_p() variant of msecs_to_jiffies(), as Joe suggested.
Brian
| |