linux/drivers/media/platform/exynos4-is
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
..
common.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
common.h [media] exynos4-is: Move __fimc_videoc_querycap() function to the common module 2013-06-12 22:05:41 -03:00
fimc-capture.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
fimc-core.c [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-core.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-is-command.h [media] exynos4-is: Add Exynos4x12 FIMC-IS driver 2013-04-04 19:59:24 -03:00
fimc-is-errno.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-errno.h [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-i2c.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fimc-is-i2c.h [media] exynos4-is: Add FIMC-IS ISP I2C bus driver 2013-04-04 20:04:49 -03:00
fimc-is-param.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-param.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.c [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-sensor.c [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is-sensor.h [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
fimc-is.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp-video.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
fimc-isp-video.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
fimc-isp.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-lite-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-lite-reg.h [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver 2013-06-28 15:22:22 -03:00
fimc-lite.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
fimc-lite.h [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-m2m.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
fimc-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-reg.h [media] exynos4-is: Correct input DMA YUV order configuration 2013-04-04 20:23:53 -03:00
Kconfig [media] exynos4_is: exynos4-fimc requires i2c 2015-05-13 16:06:28 -03:00
Makefile [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
media-dev.c [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
media-dev.h [media] media: use entity.graph_obj.mdev instead of .parent 2016-01-11 12:18:43 -02:00
mipi-csis.c [media] media: get rid of unused "extra_links" param on media_entity_init() 2016-01-11 12:18:39 -02:00
mipi-csis.h