]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/media/v4l2-common.h
media: v4l2-core: introduce a helper to unregister a spi subdev
authorEzequiel Garcia <ezequiel@collabora.com>
Thu, 15 Aug 2019 16:48:04 +0000 (13:48 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 26 Aug 2019 13:51:29 +0000 (10:51 -0300)
commita9cff393c1d78ecbbc33e6196e79bb05ccb4a709
treed20d7cc9972f62596c3c44a851bcf398ecec862a
parent02283b98b1ac47659b17d575ea24e2b92ead7ede
media: v4l2-core: introduce a helper to unregister a spi subdev

Introduce a new video4linux2 spi helper, to unregister a subdev.
This allows to get rid of some more ifdefs.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-device.c
drivers/media/v4l2-core/v4l2-spi.c
include/media/v4l2-common.h