diff options
author | Huang Shijie <b32955@freescale.com> | 2012-09-13 14:57:55 +0800 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 15:55:05 +0100 |
commit | ae70ba2d6078d60c527c93076133accf59becaf8 (patch) | |
tree | 16def618f017b65e54e7d79391a37002e1607459 /drivers/mtd/nand/bf5xx_nand.c | |
parent | ddab3838aa3332ed2c8ea96accbed5218a2a72b7 (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/bf5xx_nand.c')
0 files changed, 0 insertions, 0 deletions