mtd: fsl_ifc_nand: use msecs_to_jiffies for time conversion
authorNicholas Mc Guire <hofrat@osadl.org>
Fri, 13 Mar 2015 11:23:47 +0000 (07:23 -0400)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 6 Apr 2015 00:47:56 +0000 (17:47 -0700)
commit95d706657311f24407d0f7a0cf79b55904ec6524
tree19f46f23db1169b415ad284b589dd9a8cbe889e6
parent41c7540d0c4e362212845aa2258c15aaa878665f
mtd: fsl_ifc_nand: 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) which helps readability
and also handles all corner-cases properly.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_ifc_nand.c