linux/drivers/staging/media
Laurent Pinchart 45b46879a7 [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>
2016-04-13 17:20:48 -03:00
..
bcm2048 Staging: media: Remove unnecessary goto. 2016-03-11 22:09:09 -08:00
cxd2099 staging: Remove <linux/moduleparam.h> header. 2015-03-01 17:09:52 -08:00
davinci_vpfe [media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device 2016-04-13 17:20:48 -03:00
lirc [media] Staging: media/lirc: lirc_zilog.c : fixed a string split in multi-line issue 2016-03-03 14:33:15 -03:00
mn88472 staging: [media] mn88472: simplify NULL tests 2016-03-11 22:09:09 -08:00
mx2 [media] staging/media: add missing TODO files 2016-03-03 18:29:14 -03:00
mx3 [media] staging/media: add missing TODO files 2016-03-03 18:29:14 -03:00
omap1 [media] staging/media: add missing TODO files 2016-03-03 18:29:14 -03:00
omap4iss [media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device 2016-04-13 17:20:48 -03:00
timb [media] timblogiw: move to staging in preparation for removal 2016-02-19 08:10:33 -02:00
Kconfig [media] mn88473: move out of staging 2016-03-03 09:16:48 -03:00
Makefile [media] mn88473: move out of staging 2016-03-03 09:16:48 -03:00