From 89d714ce630cef6f6106f23a89458699cc595b04 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Wed, 30 Jan 2013 16:48:15 -0700 Subject: 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/ni_daq_dio24.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'drivers/staging/comedi') 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 -#include #include "../comedidev.h" -#include - -#include "8255.h" - #include #include #include +#include "8255.h" + static int dio24_pcmcia_config_loop(struct pcmcia_device *p_dev, void *priv_data) { -- cgit v1.2.3