]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[media] davinci: Use a local media device pointer instead
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 28 Nov 2016 11:48:33 +0000 (09:48 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 13:36:40 +0000 (11:36 -0200)
commit0cffd6312f3fd9e51fec946eb918a988b109b520
tree39aa276fb8c145f406fa088bd08d154b40d94767
parent2312d8b8a09a5524bd511c6626b6d666dbd1afb1
[media] davinci: Use a local media device pointer instead

The function has a local variable that points to the media device; use
that instead of finding the media device under the entity.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/davinci_vpfe/vpfe_video.c