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