staging: comedi: usbduxfast: don't pass the private data directly
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 20:33:13 +0000 (13:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:24:23 +0000 (16:24 -0700)
commitda63c39c65ae90adf527875c7a7988893d05a138
tree9f0c091d0612fa8a16ba039b3cc5b7e5ed135764
parent01245e7a9fa575affb4f42c4309a9c25b2296b08
staging: comedi: usbduxfast: don't pass the private data directly

Instead of passing the private data to the internal functions, pass
the comedi_device pointer and get the private data from it.

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>
drivers/staging/comedi/drivers/usbduxfast.c