[media] omap3isp: Use a local media device pointer instead
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 28 Nov 2016 10:42:44 +0000 (08:42 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 13:34:38 +0000 (11:34 -0200)
commit79ac44c88fd060c5729cdcc0186e0914408b20c8
tree08288064e015b0a6bc75cbdbd26b567a7ef193b0
parentaa79a84f65b37785ff56b30dc808c88bbc25a91b
[media] omap3isp: 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/media/platform/omap3isp/ispvideo.c