ARM/omap: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Sun, 16 Dec 2012 19:30:02 +0000 (11:30 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 17 Dec 2012 18:50:41 +0000 (10:50 -0800)
commite4e9f7ea2ee83c21b9541a7624deb1ed361d1b39
tree837f576b2fa4699de77ac49f1050807ae0848421
parent669bb479383c68a17fb0b6f525b8c3d7beb8e198
ARM/omap: 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: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c