Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337656
b: refs/heads/master
c: a486baa
h: refs/heads/master
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 6, 2012
1 parent 55542d1 commit afabeb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2bb8b1dfe6837ca300a36e7d5c5c9a272aefe5a6
refs/heads/master: a486baa6cf2f900f252686cc63afc165db11b6e2
13 changes: 2 additions & 11 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1032.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ static const struct addi_board apci1032_boardtypes[] = {
.pc_EepromChip = ADDIDATA_93C76,
.i_NbrDiChannel = 32,
.interrupt = v_APCI1032_Interrupt,
.reset = i_APCI1032_Reset,
.di_config = i_APCI1032_ConfigDigitalInput,
.di_read = i_APCI1032_Read1DigitalInput,
.di_bits = i_APCI1032_ReadMoreDigitalInput,
Expand Down Expand Up @@ -55,14 +54,6 @@ static irqreturn_t v_ADDI_Interrupt(int irq, void *d)
return IRQ_RETVAL(1);
}

static int i_ADDI_Reset(struct comedi_device *dev)
{
const struct addi_board *this_board = comedi_board(dev);

this_board->reset(dev);
return 0;
}

static const void *addi_find_boardinfo(struct comedi_device *dev,
struct pci_dev *pcidev)
{
Expand Down Expand Up @@ -308,7 +299,7 @@ static int apci1032_attach_pci(struct comedi_device *dev,
s->type = COMEDI_SUBD_UNUSED;
}

i_ADDI_Reset(dev);
i_APCI1032_Reset(dev);
return 0;
}

Expand All @@ -319,7 +310,7 @@ static void apci1032_detach(struct comedi_device *dev)

if (devpriv) {
if (dev->iobase)
i_ADDI_Reset(dev);
i_APCI1032_Reset(dev);
if (dev->irq)
free_irq(dev->irq, dev);
if (devpriv->dw_AiBase)
Expand Down

0 comments on commit afabeb7

Please sign in to comment.