From: Russell King Date: Fri, 25 Apr 2014 11:58:40 +0000 (+0100) Subject: mmc: sdhci: clean up sdhci_update_clock()/sdhci_set_clock() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~65^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91138ca51d8cdbefceb1ed1cd2dbfdd763af6cdf;p=pandora-kernel.git mmc: sdhci: clean up sdhci_update_clock()/sdhci_set_clock() Only one caller to sdhci_set_clock() needs to check whether the requested clock frequency was the same as the currently set frequency, yet we work around this in several other sites via sdhci_update_clock(). Rather than doing this, move those checks out into sdhci_do_set_ios(), which then allows sdhci_update_clock() to be eliminated. Signed-off-by: Russell King Tested-by: Markus Pargmann Tested-by: Stephen Warren Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed