linux/drivers/media/platform/vsp1
Javier Martinez Canillas d10c98949d [media] media: use entity.graph_obj.mdev instead of .parent
The struct media_entity has a .parent field that stores a pointer
to the parent struct media_device. But recently a media_gobj was
embedded into the entities and since struct media_gojb already has
a pointer to a struct media_device in the .mdev field, the .parent
field becomes redundant and can be removed.

This patch replaces all the usage of .parent by .graph_obj.mdev so
that field will become unused and can be removed on a later patch.

No functional changes.

The transformation was made using the following coccinelle spatch:

@@
struct media_entity *me;
@@

- me->parent
+ me->graph_obj.mdev

@@
struct media_entity *link;
@@

- link->source->entity->parent
+ link->source->entity->graph_obj.mdev

@@
struct exynos_video_entity *ve;
@@

- ve->vdev.entity.parent
+ ve->vdev.entity.graph_obj.mdev

Suggested-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-11 12:18:43 -02:00
..
Makefile
vsp1_bru.c [media] v4l2-subdev: support new 'which' field in enum_mbus_code 2015-03-23 11:46:38 -07:00
vsp1_bru.h
vsp1_drv.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
vsp1_entity.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
vsp1_entity.h [media] v4l: vsp1: Don't sleep in atomic context 2015-07-17 10:03:43 -03:00
vsp1_hsit.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_hsit.h
vsp1_lif.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_lif.h
vsp1_lut.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_lut.h
vsp1_regs.h [media] v4l: vsp1: Fix VI6_DPR_ROUTE_FXA_MASK macro 2015-07-06 08:26:07 -03:00
vsp1_rpf.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
vsp1_rwpf.c [media] v4l: vsp1: Align crop rectangle to even boundary for YUV formats 2015-07-06 08:26:08 -03:00
vsp1_rwpf.h [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
vsp1_sru.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_sru.h
vsp1_uds.c [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
vsp1_uds.h
vsp1_video.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
vsp1_video.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
vsp1_wpf.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
vsp1.h [media] v4l: vsp1: Remove support for platform data 2014-12-23 09:11:24 -02:00