]> git.baikalelectronics.ru Git - kernel.git/commit
media: marvell-ccic: mmp: get rid of mmpcam_devices list
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 17 Aug 2020 22:08:48 +0000 (00:08 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 29 Aug 2020 06:09:16 +0000 (08:09 +0200)
commit58081b685b2fa9857385abecc286317dad85625f
tree947e0861afea7b11f954d777b8424e66e7b11274
parent621b206d9cd6b40b3532a09abae7c9d7001f3a77
media: marvell-ccic: mmp: get rid of mmpcam_devices list

The sole reason for this was so that it would be possible to get a
mmp_camera from a platform_device in suspend/resume/remove hooks, because
drvdata used to be used by the v4l core.

Since commit 6c8177d3193f ("[media] v4l: Add a media_device pointer to the
v4l2_device structure") it is no longer case and thus we can make things
a great deal simpler.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/marvell-ccic/mmp-driver.c