Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337571
b: refs/heads/master
c: 48562c3
h: refs/heads/master
i:
  337569: 1b984e5
  337567: 91b09e0
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 1, 2012
1 parent aa09296 commit cab14cd
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: 678e4e27bc31c78b3a7171d6e26d7825c46d5c36
refs/heads/master: 48562c361fb11f30ae856065d335a0ae1516edde
13 changes: 2 additions & 11 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1710.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ static const struct addi_board apci1710_boardtypes[] = {
.i_IorangeBase2 = 256,
.i_PCIEeprom = ADDIDATA_NO_EEPROM,
.interrupt = v_APCI1710_Interrupt,
.reset = i_APCI1710_Reset,
},
};

Expand All @@ -46,14 +45,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 *apci1710_find_boardinfo(struct comedi_device *dev,
struct pci_dev *pcidev)
{
Expand Down Expand Up @@ -192,7 +183,7 @@ static int apci1710_attach_pci(struct comedi_device *dev,

devpriv->s_BoardInfos.ui_Address = pci_resource_start(pcidev, 2);

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

Expand All @@ -204,7 +195,7 @@ static void apci1710_detach(struct comedi_device *dev)

if (devpriv) {
if (dev->iobase)
i_ADDI_Reset(dev);
i_APCI1710_Reset(dev);
if (dev->irq)
free_irq(dev->irq, dev);
if ((this_board->pc_EepromChip == NULL) ||
Expand Down

0 comments on commit cab14cd

Please sign in to comment.