mmc: omap_hsmmc: introduce start_clock and re-use stop_clock
authorAndy Shevchenko <ext-andriy.shevchenko@nokia.com>
Fri, 6 May 2011 09:14:05 +0000 (12:14 +0300)
committerChris Ball <cjb@laptop.org>
Thu, 21 Jul 2011 14:35:02 +0000 (10:35 -0400)
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>

No differences found