V4L/DVB (12540): v4l: simplify v4l2_i2c_new_subdev and friends
[deliverable/linux.git] / drivers / media / video / cx88 / cx88-video.c
index 2bb54c3ef5cdcefbc708718aebee684005f80e3d..81d2b5dea18e88b91a4ed0388985e9711a2dc2bb 100644 (file)
@@ -1881,14 +1881,14 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
 
        if (core->board.audio_chip == V4L2_IDENT_WM8775)
                v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap,
-                               "wm8775", "wm8775", 0x36 >> 1);
+                               "wm8775", "wm8775", 0x36 >> 1, NULL);
 
        if (core->board.audio_chip == V4L2_IDENT_TVAUDIO) {
                /* This probes for a tda9874 as is used on some
                   Pixelview Ultra boards. */
-               v4l2_i2c_new_probed_subdev_addr(&core->v4l2_dev,
+               v4l2_i2c_new_subdev(&core->v4l2_dev,
                                &core->i2c_adap,
-                               "tvaudio", "tvaudio", 0xb0 >> 1);
+                               "tvaudio", "tvaudio", 0, I2C_ADDRS(0xb0 >> 1));
        }
 
        switch (core->boardnr) {
This page took 0.026729 seconds and 5 git commands to generate.