From: Andy Shevchenko Date: Wed, 13 Jul 2011 15:31:15 +0000 (-0400) Subject: mmc: omap_hsmmc: refactor duplicated code X-Git-Tag: v3.1-rc1~321^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3796fb8ac40920e04ed36e45b1b40d13aec3909d;p=pandora-kernel.git mmc: omap_hsmmc: refactor duplicated code There are a few places with the same functionality. This patch creates two functions omap_hsmmc_set_bus_width() and omap_hsmmc_set_bus_mode() to do the job. Signed-off-by: Andy Shevchenko Signed-off-by: Adrian Hunter Signed-off-by: Chris Ball --- Reading git-diff-tree failed