summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorHans Verkuil2017-08-28 10:45:58 +0200
committerMauro Carvalho Chehab2017-09-23 20:58:22 +0200
commit201c799637f293f8c2a9e4c91de1987bc8b9075c (patch)
tree07ba6824a170a0dd135ca43fef547319ca46b1f5 /drivers/media/pci
parentmedia: v4l-ioctl: Fix typo on v4l_print_frmsizeenum (diff)
downloadkernel-qcow2-linux-201c799637f293f8c2a9e4c91de1987bc8b9075c.tar.gz
kernel-qcow2-linux-201c799637f293f8c2a9e4c91de1987bc8b9075c.tar.xz
kernel-qcow2-linux-201c799637f293f8c2a9e4c91de1987bc8b9075c.zip
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>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/cobalt/cobalt-driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/pci/cobalt/cobalt-driver.c b/drivers/media/pci/cobalt/cobalt-driver.c
index 8487ecaa4d30..3f16cf3f6d74 100644
--- a/drivers/media/pci/cobalt/cobalt-driver.c
+++ b/drivers/media/pci/cobalt/cobalt-driver.c
@@ -738,9 +738,6 @@ static int cobalt_probe(struct pci_dev *pci_dev,
goto err_i2c;
}
- retval = v4l2_device_register_subdev_nodes(&cobalt->v4l2_dev);
- if (retval)
- goto err_i2c;
retval = cobalt_nodes_register(cobalt);
if (retval) {
cobalt_err("Error %d registering device nodes\n", retval);