commit | 3796fb8ac40920e04ed36e45b1b40d13aec3909d | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <ext-andriy.shevchenko@nokia.com> | Wed Jul 13 11:31:15 2011 -0400 |
committer | Chris Ball <cjb@laptop.org> | Thu Jul 21 10:35:03 2011 -0400 |
tree | a92559c0708ed83bf08326e8fd6af020ca748700 | |
parent | 5934df2f10a48d048fafe0d3c8b242a7c9106e69 [diff] |
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 <ext-andriy.shevchenko@nokia.com> Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Chris Ball <cjb@laptop.org>