[media] media/bfin: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 10 Oct 2012 17:33:38 +0000 (14:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 27 Oct 2012 13:33:50 +0000 (11:33 -0200)
commit7f2b3a7d8c8dbf3c9f70561f8a6d3a85b36cd16b
tree577f9d63b2b09701efa570236bbf04e0be5c8b11
parent32d640dea87bc973b91975ea408a04c6dcca3f45
[media] media/bfin: 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/blackfin/bfin_capture.c