]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 23 Oct 2012 21:12:25 +0000 (17:12 -0400)
commitec8e1ca2a608717d0eec0fa32f530869c0229fd6
treed2a3266fb731b79bc785aa59acf0059ce8d09759
parent940f415d0c2b49627b7402b6165a123d132c005f
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