aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-01-30 16:48:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-03 19:27:38 -0600
commit89d714ce630cef6f6106f23a89458699cc595b04 (patch)
tree4de18c39818d8fa0a7a0928b93595e3903b9591a /drivers/staging/comedi
parent5a1daad46a99f1f33b2559ff87a0fb9b01a07c87 (diff)
staging: comedi: ni_daq_dio24: remove some unnecessary includes
This driver does not use anything from the interrupt.h, slab.h, and ioport.h headers. Don't bother including them. For aesthetic reasons, move the include of the comedi specific 8255.h header to the end of the includes. 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>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/drivers/ni_daq_dio24.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c
index e491375321f..53fd4d0f88d 100644
--- a/drivers/staging/comedi/drivers/ni_daq_dio24.c
+++ b/drivers/staging/comedi/drivers/ni_daq_dio24.c
@@ -37,18 +37,14 @@ This is just a wrapper around the 8255.o driver to properly handle
the PCMCIA interface.
*/
-#include <linux/interrupt.h>
-#include <linux/slab.h>
#include "../comedidev.h"
-#include <linux/ioport.h>
-
-#include "8255.h"
-
#include <pcmcia/cistpl.h>
#include <pcmcia/cisreg.h>
#include <pcmcia/ds.h>
+#include "8255.h"
+
static int dio24_pcmcia_config_loop(struct pcmcia_device *p_dev,
void *priv_data)
{