]> git.baikalelectronics.ru Git - kernel.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>
Thu, 6 Dec 2012 18:54:38 +0000 (13:54 -0500)
commit3d065d92d81b30c06ee0b6b4b8b7969e9385e4ee
treeda12ac13d0c2f62ea11ca2985dd83706722fea8a
parent634b86d95cdab4438a2b3f8108800e3d3018926f
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