[PATCH 0/4] mmc/sdhci: sdhci_set_bus_width() cleanup

Michał Mirosław
2017-08-09T20:36:06Z

Some SDHCI drivers are reimplementing sdhci_set_bus_width() just because
they support 8-bit bus but don't advertise full SDHCI 3.0 compliance.
This unnecessarily duplicates the function. Let's remove those duplicates.

Michał Mirosław (4):
sdhci: key 8BITBUS bit off MMC_CAP_8_BIT_DATA
mmc/sdhci-tegra: use generic sdhci_set_bus_width()
mmc/sdhci-pci: use generic sdhci_set_bus_width()
mmc/sdhci-s3c: use generic sdhci_set_bus_width()

drivers/mmc/host/sdhci-pci-core.c | 30 +++---------------------------
drivers/mmc/host/sdhci-s3c.c | 34 +---------------------------------
drivers/mmc/host/sdhci-tegra.c | 23 ++---------------------
drivers/mmc/host/sdhci.c | 5 ++---
4 files changed, 8 insertions(+), 84 deletions(-)

--
2.11.0