ARM: pxa: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Fri, 12 Oct 2012 07:11:20 +0000 (08:11 +0100)
committerOlof Johansson <olof@lixom.net>
Tue, 6 Nov 2012 13:59:59 +0000 (05:59 -0800)
commit6ed68a6d83e4497dc33581ccc82b4fa3e7e8226d
treeb1c3fe9ff0b5898c04f80c7f128c96b1be251b0c
parent6767d05ed8f902ee3fcdc2e42cccb29524cf19e5
ARM: pxa: 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>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-pxa/pxa3xx-ulpi.c