staging: comedi: vmk80xx: don't pass the private data directly
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 20 May 2013 21:24:32 +0000 (14:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 17:59:10 +0000 (10:59 -0700)
commit0703c9553847b31cf34a7a04a839806fb361422f
treec67db08b50541e7ec8d28fbdbed1ef4d618c2f3a
parent0a92de24200f8acc2846f575fa7965d3dd7e4017
staging: comedi: vmk80xx: 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/vmk80xx.c