[media] media: davinci: vpif_display: initialize the video device in single place
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:22 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 22:12:07 +0000 (19:12 -0300)
commit76c4c2be190fc5f9750975bb1b3caf98712da4c1
treea04e9f66ab5a1352eb9bf7073b4edab1ae9eb65d
parent2f5851b5a87e96065d623cfe89137b3abdcfe643
[media] media: davinci: vpif_display: 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 appropraitely in 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_display.c