aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-02-29 11:45:45 +0000
committerMauro Carvalho Chehab <[email protected]>2016-04-13 20:20:48 +0000
commit45b46879a785678e08953c8f97df945bf634e472 (patch)
tree99d858c1b9450af84ca3829e2027550dd78b8c5d /drivers/media/v4l2-core/v4l2-subdev.c
parent[media] media: Add obj_type field to struct media_entity (diff)
downloadkernel-45b46879a785678e08953c8f97df945bf634e472.tar.gz
kernel-45b46879a785678e08953c8f97df945bf634e472.zip
[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 <[email protected]> Acked-by: Hans Verkuil <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions