staging: comedi: adl_pci9118: replace comedi_board() calls
authorIan Abbott <abbotti@mev.co.uk>
Tue, 9 Sep 2014 10:26:15 +0000 (11:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:36:45 +0000 (14:36 -0700)
The `comedi_board(dev)` inline function calls just return
`dev->board_ptr`.  Expand the inline function calls.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9118.c

index 281135876ec94035248489706cabc2188398e093..8d3f81322eae68c9c93f9b6ee04f6d643b49cb52 100644 (file)
@@ -1521,7 +1521,7 @@ static void pci9118_free_dma(struct comedi_device *dev)
 static int pci9118_common_attach(struct comedi_device *dev,
                                 int ext_mux, int softsshdelay)
 {
-       const struct pci9118_boardinfo *board = comedi_board(dev);
+       const struct pci9118_boardinfo *board = dev->board_ptr;
        struct pci_dev *pcidev = comedi_to_pci_dev(dev);
        struct pci9118_private *devpriv;
        struct comedi_subdevice *s;
This page took 0.03141 seconds and 5 git commands to generate.