Skip to content

mmc: sdhci: set .remove to sdhci_pltfm_unregister()

Kevin Hao linux-mmc linux-tegra 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 of 7 patches 2 repliesApplied
  2. v17 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Update the sdhci-bcm-kona as suggested by Ray Jui.
- Also kill the private get_max_clock function in sdhci-sirf.

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7mmc: sdhci-dove: remove the unneeded error checkdrivers/mmc/host/sdhci-dove.c+2 -40 replies
2/7mmc: sdhci-dove: kill the driver specific private structdrivers/mmc/host/sdhci-dove.c+5 -210 replies
4/7mmc: sdhci-sirf: kill the "clk" member in driver private structdrivers/mmc/host/sdhci-sirf.c+7 -190 replies
5/7mmc: sdhci-bcm-kona: kill the "external_clk" member in driver private structdrivers/mmc/host/sdhci-bcm-kona.c+13 -331 reply
6/7mmc: sdhci: disable the clock in sdhci_pltfm_unregister()drivers/mmc/host/sdhci-bcm-kona.c drivers/mmc/host/sdhci-dove.c drivers/mmc/host/sdhci-of-arasan.c +4 more+6 -390 replies
7/7mmc: sdhci: set the .remove to sdhci_pltfm_unregister()drivers/mmc/host/sdhci-bcm-kona.c drivers/mmc/host/sdhci-bcm2835.c drivers/mmc/host/sdhci-cns3xxx.c +6 more+9 -560 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRay JuiAlexandre Courbot
SeriesA-b
1/7
2/7
4/7
5/7R-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

Hi,

v2:
- Update the sdhci-bcm-kona as suggested by Ray Jui.
- Also kill the private get_max_clock function in sdhci-sirf.

v1:
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  | 61 ++++++++------------------------------
 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      | 36 +++++-----------------
 drivers/mmc/host/sdhci-st.c        | 12 +-------
 drivers/mmc/host/sdhci-tegra.c     | 30 +++----------------
 11 files changed, 36 insertions(+), 173 deletions(-)
Signature · 1 line
1.9.3