Skip to content

Commit

Permalink
staging: comedi: ni_daq_dio24: remove some unnecessary includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Feb 4, 2013
1 parent 5a1daad commit 89d714c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions drivers/staging/comedi/drivers/ni_daq_dio24.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 89d714c

Please sign in to comment.