[PATCH 0/7] mmc: sdhci: set .remove to sdhci_pltfm_unregister()

Kevin Hao
2015-02-06T03:15:35Z

Hi,

In the current kernel, the specific .remove function in several sdhci platform
drivers seem pretty similar. Actually we can just set all of them to
sdhci_pltfm_unregister() with just a bit twist.

Only run test for sdhci-of-esdhc driver. All others just passed the build test.

Kevin Hao (7):
mmc: sdhci-dove: remove the unneeded error check
mmc: sdhci-dove: kill the driver specific private struct
mmc: tegra: use devm help functions to get the clk and gpio
mmc: sdhci-sirf: kill the "clk" member in driver private struct
mmc: sdhci-bcm-kona: kill the "external_clk" member in driver private
struct
mmc: sdhci: disable the clock in sdhci_pltfm_unregister()
mmc: sdhci: set the .remove to sdhci_pltfm_unregister()

drivers/mmc/host/sdhci-bcm-kona.c | 31 +++++++-----------------------
drivers/mmc/host/sdhci-bcm2835.c | 7 +------
drivers/mmc/host/sdhci-cns3xxx.c | 7 +------
drivers/mmc/host/sdhci-dove.c | 39 +++++---------------------------------
drivers/mmc/host/sdhci-of-arasan.c | 1 -
drivers/mmc/host/sdhci-of-esdhc.c | 7 +------
drivers/mmc/host/sdhci-of-hlwd.c | 7 +------
drivers/mmc/host/sdhci-pltfm.c | 2 ++
drivers/mmc/host/sdhci-sirf.c | 30 +++++++----------------------
drivers/mmc/host/sdhci-st.c | 12 +-----------
drivers/mmc/host/sdhci-tegra.c | 30 ++++-------------------------
11 files changed, 30 insertions(+), 143 deletions(-)

--
1.9.3