mmc: sdhci: introduce sdhci_update_clock helper to re-enable clock
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Jan 2013 14:31:08 +0000 (16:31 +0200)
committerChris Ball <cjb@laptop.org>
Mon, 28 Jan 2013 11:51:33 +0000 (06:51 -0500)
commit22c07f36269befbf092d833d2c7cf0e27a3e9d1f
treee5932489bbbebc9875abf20ab15ceb86936371e0
parent9ddc4f27cf9ebb413c713fb4419c4f5e80c6a5f3
mmc: sdhci: introduce sdhci_update_clock helper to re-enable clock

There are three places where same piece of code is used. Let's split it
to a separate function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c