commit | e0c7f99b863b485ad0cde371ea1f62ec8ff70c5d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <ext-andriy.shevchenko@nokia.com> | Fri May 06 12:14:05 2011 +0300 |
committer | Chris Ball <cjb@laptop.org> | Thu Jul 21 10:35:02 2011 -0400 |
tree | 66b39be4541469ffab16d44debc63e1a4368f3f9 | |
parent | ac330f44c6bcc5f8ef7eb6ea7fd00575a1d5ef1a [diff] |
mmc: omap_hsmmc: introduce start_clock and re-use stop_clock There is similar code in two functions which enable the clock. Refactor this code to omap_hsmmc_start_clock(). Re-use omap_hsmmc_stop_clock() in omap_hsmmc_context_restore() as well. Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Chris Ball <cjb@laptop.org>