For aesthetic reasons, pass the comedi_device pointer to this function
instead of the private data pointer.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 /* end of PWM */
 /*****************************************************************/
 
-static int usbdux_alloc_usb_buffers(struct usbdux_private *devpriv)
+static int usbdux_alloc_usb_buffers(struct comedi_device *dev)
 {
+       struct usbdux_private *devpriv = dev->private;
        struct urb *urb;
        int i;
 
                devpriv->num_out_buffers = NUMOFOUTBUFFERSFULL;
        }
 
-       ret = usbdux_alloc_usb_buffers(devpriv);
+       ret = usbdux_alloc_usb_buffers(dev);
        if (ret)
                return ret;