staging: comedi: das08_isa: replace comedi_board() calls
authorIan Abbott <abbotti@mev.co.uk>
Tue, 9 Sep 2014 10:26:26 +0000 (11:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Sep 2014 21:32:51 +0000 (14:32 -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>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08_isa.c

index 4fb03d3852d32345ce877ec0fb3fc2b12b46255a..e4ba268e78ab072df54913df16f754077d2595a8 100644 (file)
@@ -174,7 +174,7 @@ static const struct das08_board_struct das08_isa_boards[] = {
 static int das08_isa_attach(struct comedi_device *dev,
                            struct comedi_devconfig *it)
 {
-       const struct das08_board_struct *thisboard = comedi_board(dev);
+       const struct das08_board_struct *thisboard = dev->board_ptr;
        struct das08_private_struct *devpriv;
        int ret;
 
This page took 0.03858 seconds and 5 git commands to generate.