From 0220d472dfa98357c5642b9ca80602fad431e046 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Tue, 9 Sep 2014 11:26:15 +0100 Subject: [PATCH] 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 --- drivers/staging/comedi/drivers/adl_pci9118.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5