mmc: sdhci: make sdhci-pltfm device drivers self registered
authorShawn Guo <shawn.guo@linaro.org>
Fri, 27 May 2011 15:48:12 +0000 (23:48 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:16:06 +0000 (17:16 -0400)
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>

No differences found