Blackfin: dpmc: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 18:40:19 +0000 (19:40 +0100)
committerBob Liu <lliubbo@gmail.com>
Thu, 13 Dec 2012 05:50:57 +0000 (13:50 +0800)
commit4452fec6af8d5ed1dc3ac37f31d7da1bd62733b8
treeb985253c32cca596683934c2ff5614d668653fd0
parent00e9584c765043d6f4385244f03eed0e7fe18287
Blackfin: dpmc: use module_platform_driver macro

This patch removes some code duplication by using
module_platform_driver.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-common/dpmc.c