linux/drivers/media/platform/omap3isp
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
..
cfa_coef_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
gamma_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isp.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
isp.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00
ispccdc.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
ispccdc.h [media] omap3isp: ccdc: Don't timeout on stream off when the CCDC is stopped 2014-08-21 15:25:16 -05:00
ispccp2.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
ispccp2.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispcsi2.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
ispcsi2.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispcsiphy.c [media] omap3isp: Add support for the Device Tree 2015-04-02 16:47:48 -03:00
ispcsiphy.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00
isph3a_aewb.c [media] media: omap3isp: hist: Move histogram DMA to DMA engine 2015-04-02 16:37:13 -03:00
isph3a_af.c [media] media: omap3isp: hist: Move histogram DMA to DMA engine 2015-04-02 16:37:13 -03:00
isph3a.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isphist.c [media] omap3isp: Replace mmio_base_phys array with the histogram block base 2015-04-02 16:42:52 -03:00
isphist.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
isppreview.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
isppreview.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
ispreg.h [media] omap3isp: ccdc: Support the interlaced field orders at the CCDC output 2014-08-21 15:25:14 -05:00
ispresizer.c [media] media: rename the function that create pad links 2016-01-11 12:18:43 -02:00
ispresizer.h [media] omap3isp: resizer: Protect against races when updating crop 2014-08-21 15:25:17 -05:00
ispstat.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
ispstat.h [media] use v4l2_get_timestamp where possible 2015-10-01 08:29:23 -03:00
ispvideo.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
ispvideo.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00
luma_enhance_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
Makefile [media] omap3isp: Move to videobuf2 2014-05-25 11:38:53 -03:00
noise_filter_table.h [media] omap3isp: Remove boilerplate disclaimer and FSF address 2014-08-21 15:25:12 -05:00
omap3isp.h [media] v4l: omap3isp: Drop platform data support 2015-08-16 13:18:06 -03:00