From: Huang Shijie Date: Thu, 13 Sep 2012 06:57:55 +0000 (+0800) Subject: mtd: gpmi: do not get the clock frequency in gpmi_begin() X-Git-Tag: v3.7-rc1~70^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae70ba2d6078d60c527c93076133accf59becaf8;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed