[media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 29 Feb 2016 11:45:45 +0000 (08:45 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 Apr 2016 20:20:48 +0000 (17:20 -0300)
commit45b46879a785678e08953c8f97df945bf634e472
tree99d858c1b9450af84ca3829e2027550dd78b8c5d
parentb76a2a8cb6f6d9da711305d805156b40c698e94f
[media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device

All users of is_media_entity_v4l2_io() (the exynos4-is, omap3isp,
davince_vpfe and omap4iss drivers and the v4l2-mc power management code)
use the function to check whether entities are video_device instances,
either to ensure they can cast the entity to a struct video_device, or
to count the number of video nodes users.

The purpose of the function is thus to identify whether the media entity
instance is an instance of the video_device object, not to check whether
it can perform I/O. Rename it accordingly, we will introduce a more
specific is_media_entity_v4l2_io() check when needed.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/exynos4-is/media-dev.c
drivers/media/platform/omap3isp/ispvideo.c
drivers/media/v4l2-core/v4l2-mc.c
drivers/staging/media/davinci_vpfe/vpfe_video.c
drivers/staging/media/omap4iss/iss_video.c
include/media/media-entity.h
This page took 0.027538 seconds and 5 git commands to generate.