From: H Hartley Sweeten Date: Wed, 30 Jan 2013 23:48:15 +0000 (-0700) Subject: staging: comedi: ni_daq_dio24: remove some unnecessary includes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=89d714ce630cef6f6106f23a89458699cc595b04;p=linux-beck.git 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 --- diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c b/drivers/staging/comedi/drivers/ni_daq_dio24.c index e491375321fd..53fd4d0f88df 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) {