[media] media: davinci: vpif_capture: initialize the video device in single place
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:46 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 22:30:06 +0000 (19:30 -0300)
commite75ea0c15dc5dc37d95d385bfd0102aa3042dca4
treeb8133ca6d903a7241de2f9ccba626de04a7e7676
parentc66238f363b3c39c6aaa85d9c938a3d17eb9a352
[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