linux/drivers/mtd/nand/gpmi-nand
Huang Shijie ae70ba2d60 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>
2012-09-29 15:55:05 +01:00
..
Makefile mtd: add GPMI-NAND driver in the config and Makefile 2011-09-11 15:02:18 +03:00
bch-regs.h mtd: gpmi: add gpmi support for mx6q 2012-05-13 23:22:29 -05:00
gpmi-lib.c mtd: gpmi: do not get the clock frequency in gpmi_begin() 2012-09-29 15:55:05 +01:00
gpmi-nand.c mtd: gpmi-nand: Convert to module_platform_driver() 2012-09-29 15:43:01 +01:00
gpmi-nand.h mtd: gpmi: add a new field for HW_GPMI_TIMING1 2012-09-29 15:54:51 +01:00
gpmi-regs.h mtd: gpmi: add a new field for HW_GPMI_TIMING1 2012-09-29 15:54:51 +01:00