[media] [3.6.0-,3/5] media/mx2_emmaprp: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 17:33:52 +0000 (14:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 13:35:11 +0000 (11:35 -0200)
commit0e368f302e897b8a6a14191dfc66d92bc354014f
tree93f29109401940ade09ef825f942c08c00e98224
parent50509e5cfe6cb7dffde71a454c3266fbb55fbff1
[media] [3.6.0-,3/5] media/mx2_emmaprp: 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: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/mx2_emmaprp.c