[media] media/ir_rx51: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 17:34:07 +0000 (14:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 13:36:29 +0000 (11:36 -0200)
commit304ce75dd501d84d33dbca3c544e903f1d3377f7
tree0307a8d931b9aa4b99e99a26daf60ef4614f8f68
parent0e368f302e897b8a6a14191dfc66d92bc354014f
[media] media/ir_rx51: 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/rc/ir-rx51.c