diff options
author | Huang Shijie <[email protected]> | 2012-09-13 14:57:55 +0800 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2012-09-29 15:55:05 +0100 |
commit | ae70ba2d6078d60c527c93076133accf59becaf8 (patch) | |
tree | 16def618f017b65e54e7d79391a37002e1607459 /lib/string_helpers.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 <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions