* cx231xx_init_dev()
  * allocates and inits the device structs, registers i2c bus and v4l device
  */
-static int cx231xx_init_dev(struct cx231xx **devhandle, struct usb_device *udev,
+static int cx231xx_init_dev(struct cx231xx *dev, struct usb_device *udev,
                            int minor)
 {
-       struct cx231xx *dev = *devhandle;
        int retval = -ENOMEM;
        int errCode;
        unsigned int maxh, maxw;
                return -EIO;
        }
        /* allocate device struct */
-       retval = cx231xx_init_dev(&dev, udev, nr);
+       retval = cx231xx_init_dev(dev, udev, nr);
        if (retval) {
                clear_bit(dev->devno, &cx231xx_devused);
                v4l2_device_unregister(&dev->v4l2_dev);