-
- Downloads
mmc: sdhci: make sdhci-pltfm device drivers self registered
The patch turns the common stuff in sdhci-pltfm.c into functions, and add device drivers their own .probe and .remove which in turn call into the common functions, so that those sdhci-pltfm device drivers register itself and keep all device specific things away from common sdhci-pltfm file. Signed-off-by:Shawn Guo <shawn.guo@linaro.org> Reviewed-by:
Grant Likely <grant.likely@secretlab.ca> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Anton Vorontsov <cbouatmailru@gmail.com> Signed-off-by:
Chris Ball <cjb@laptop.org>
Showing
- drivers/mmc/host/Kconfig 10 additions, 19 deletionsdrivers/mmc/host/Kconfig
- drivers/mmc/host/Makefile 8 additions, 6 deletionsdrivers/mmc/host/Makefile
- drivers/mmc/host/sdhci-cns3xxx.c 41 additions, 1 deletiondrivers/mmc/host/sdhci-cns3xxx.c
- drivers/mmc/host/sdhci-dove.c 41 additions, 1 deletiondrivers/mmc/host/sdhci-dove.c
- drivers/mmc/host/sdhci-esdhc-imx.c 82 additions, 31 deletionsdrivers/mmc/host/sdhci-esdhc-imx.c
- drivers/mmc/host/sdhci-pltfm.c 37 additions, 120 deletionsdrivers/mmc/host/sdhci-pltfm.c
- drivers/mmc/host/sdhci-pltfm.h 13 additions, 4 deletionsdrivers/mmc/host/sdhci-pltfm.h
- drivers/mmc/host/sdhci-tegra.c 81 additions, 35 deletionsdrivers/mmc/host/sdhci-tegra.c
- include/linux/mmc/sdhci-pltfm.h 0 additions, 6 deletionsinclude/linux/mmc/sdhci-pltfm.h
Loading
Please register or sign in to comment