-
- Downloads
mmc: sdhci: make sdhci-of device drivers self registered
The patch turns the sdhci-of-core common stuff into helper functions added into sdhci-pltfm.c, and makes sdhci-of device drviers self registered using the same pair of .probe and .remove used by sdhci-pltfm device drivers. As a result, sdhci-of-core.c and sdhci-of.h can be eliminated with those common things merged into sdhci-pltfm.c and sdhci-pltfm.h respectively. Signed-off-by:Shawn Guo <shawn.guo@linaro.org> Acked-by:
Anton Vorontsov <cbouatmailru@gmail.com> Reviewed-by:
Wolfram Sang <w.sang@pengutronix.de> Signed-off-by:
Chris Ball <cjb@laptop.org>
Showing
- drivers/mmc/host/Kconfig 2 additions, 11 deletionsdrivers/mmc/host/Kconfig
- drivers/mmc/host/Makefile 4 additions, 5 deletionsdrivers/mmc/host/Makefile
- drivers/mmc/host/sdhci-of-esdhc.c 51 additions, 2 deletionsdrivers/mmc/host/sdhci-of-esdhc.c
- drivers/mmc/host/sdhci-of-hlwd.c 48 additions, 2 deletionsdrivers/mmc/host/sdhci-of-hlwd.c
- drivers/mmc/host/sdhci-of.h 0 additions, 33 deletionsdrivers/mmc/host/sdhci-of.h
- drivers/mmc/host/sdhci-pltfm.c 110 additions, 1 deletiondrivers/mmc/host/sdhci-pltfm.c
- drivers/mmc/host/sdhci-pltfm.h 12 additions, 0 deletionsdrivers/mmc/host/sdhci-pltfm.h
Loading
Please register or sign in to comment