From: Andy Shevchenko Date: Fri, 6 May 2011 09:14:05 +0000 (+0300) Subject: mmc: omap_hsmmc: introduce start_clock and re-use stop_clock X-Git-Tag: v3.1-rc1~321^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0c7f99b863b485ad0cde371ea1f62ec8ff70c5d;p=pandora-kernel.git 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 Signed-off-by: Adrian Hunter Signed-off-by: Chris Ball --- Reading git-diff-tree failed