mmc: dw_mmc: use helper macro module_platform_driver()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 3 Oct 2012 13:26:37 +0000 (16:26 +0300)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:54:38 +0000 (13:54 -0500)
commit49480cf2c29ffd2b6cb5213eaf8995bd1e16a345
treeda12ac13d0c2f62ea11ca2985dd83706722fea8a
parent4c4f87fb751d20ee2cd530861de38af62f6161d4
mmc: dw_mmc: use helper macro module_platform_driver()

Since v3.2 we have nice macro to define the platform driver's init and exit
calls. This patch simplifies the dw_mmc platform driver by using that macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Girish K S <girish.shivanajappa@linaro.org>
Acked-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc-pltfm.c