summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.c
diff options
context:
space:
mode:
authorHuang Shijie <b32955@freescale.com>2012-09-13 14:57:55 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-09-29 15:55:05 +0100
commitae70ba2d6078d60c527c93076133accf59becaf8 (patch)
tree16def618f017b65e54e7d79391a37002e1607459 /drivers/mtd/nand/r852.c
parentddab3838aa3332ed2c8ea96accbed5218a2a72b7 (diff)
mtd: gpmi: do not get the clock frequency in gpmi_begin()
The current code will gets the clock frequency which is used by gpmi_nfc_compute_hardware_timing(). It makes the code a little mess. So move the `get clock frequency` code to the gpmi_nfc_compute_hardware_timing() itself. This makes the code tidy and clean. This patch also uses the macro NSEC_PER_SEC to replace the `1000000000`. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/r852.c')
0 files changed, 0 insertions, 0 deletions