From: Ian Abbott Date: Tue, 9 Sep 2014 10:26:15 +0000 (+0100) Subject: staging: comedi: adl_pci9118: replace comedi_board() calls X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0220d472dfa98357c5642b9ca80602fad431e046;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: adl_pci9118: replace comedi_board() calls The `comedi_board(dev)` inline function calls just return `dev->board_ptr`. Expand the inline function calls. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adl_pci9118.c b/drivers/staging/comedi/drivers/adl_pci9118.c index 281135876ec9..8d3f81322eae 100644 --- a/drivers/staging/comedi/drivers/adl_pci9118.c +++ b/drivers/staging/comedi/drivers/adl_pci9118.c @@ -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;