From: Shawn Guo Date: Fri, 27 May 2011 15:48:12 +0000 (+0800) Subject: mmc: sdhci: make sdhci-pltfm device drivers self registered X-Git-Tag: v3.1-rc1~321^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d6509dc8ca24b2b652863ef7a75622ddca17d6;p=pandora-kernel.git 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 Reviewed-by: Grant Likely Acked-by: Arnd Bergmann Acked-by: Anton Vorontsov Signed-off-by: Chris Ball --- Reading git-diff-tree failed