upstream: [media] media: davinci: vpif_capture: initialize the video device in single...
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:46 +0000 (10:33 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:59:31 +0000 (11:59 +0900)
commit9eab8561ae65c0f6d886f680d71bd2281142aca7
tree6eed73bb93649df30ddcc2b856a689dd72db079d
parent1546bded3a3ed929639eca5a0934818b040d0838
upstream: [media] media: davinci: vpif_capture: initialize the video device in single place

this patch moves the initalization of video device to a
single place and uses macro to define the driver name and
use it appropriately on the required places.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.c