]> asedeno.scripts.mit.edu Git - linux.git/commit
media: cobalt: do not register subdev nodes
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 28 Aug 2017 08:45:58 +0000 (04:45 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 23 Sep 2017 18:58:22 +0000 (14:58 -0400)
commit201c799637f293f8c2a9e4c91de1987bc8b9075c
tree07ba6824a170a0dd135ca43fef547319ca46b1f5
parent2489477e4f2c19f19fde8e0a1166506fd5e5cc28
media: cobalt: do not register subdev nodes

In the distant past the adv7604 driver used private controls. In order
to access them the v4l-subdevX nodes were needed. Later the is_private
tag was removed in the adv7604 driver and the need for v4l-subdevX
device nodes disappeared.

Remove the creation of those device nodes from this driver.

Note: the cobalt card is only used inside Cisco and we never actually
used the v4l-subdevX nodes for anything. So this API change can be done
safely without breaking anything.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cobalt/cobalt-driver.c