summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/drivers/ni_daq_700.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-06-24 16:55:44 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 14:04:59 -0700
commit0bdab509bf9c6d838dc0a3b1d68bbf841fc20b5a (patch)
tree0cff143ffb15d26181eb5f2d04f95d592cb63106 /drivers/staging/comedi/drivers/ni_daq_700.c
parent54db996e6dab51571718e8e97c26fdc695e254ac (diff)
staging: comedi: use comedi_alloc_devpriv()
Use the helper function to allocate memory and set the comedi_device private data pointer. This removes the dependency on slab.h from most of the drivers so remove the global #include in comedidev.h and the local #include in some of the drivers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/drivers/ni_daq_700.c')
-rw-r--r--drivers/staging/comedi/drivers/ni_daq_700.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/ni_daq_700.c b/drivers/staging/comedi/drivers/ni_daq_700.c
index 3c50e31ecc60..12aa15b42887 100644
--- a/drivers/staging/comedi/drivers/ni_daq_700.c
+++ b/drivers/staging/comedi/drivers/ni_daq_700.c
@@ -47,7 +47,6 @@ Manuals: Register level: http://www.ni.com/pdf/manuals/340698.pdf
#include <linux/ioport.h>
#include <linux/interrupt.h>
-#include <linux/slab.h>
#include "../comedidev.h"