diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2014-09-09 11:26:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:32:52 -0700 |
commit | 765c8b03d7e7cd7f22e7233b01e4d3b68d656c61 (patch) | |
tree | db0e0320c986c3e019f59bb69cedb87b2376fa50 /drivers/staging/comedi/drivers/ni_labpc_isadma.c | |
parent | 8cf27116e3650ca3f933d5689ee1065e0eb522e2 (diff) | |
download | talos-obmc-linux-765c8b03d7e7cd7f22e7233b01e4d3b68d656c61.tar.gz talos-obmc-linux-765c8b03d7e7cd7f22e7233b01e4d3b68d656c61.zip |
staging: comedi: ni_labpc_isadma: 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 <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/drivers/ni_labpc_isadma.c')
-rw-r--r-- | drivers/staging/comedi/drivers/ni_labpc_isadma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/ni_labpc_isadma.c b/drivers/staging/comedi/drivers/ni_labpc_isadma.c index cb7d1c952cf2..967202e0635e 100644 --- a/drivers/staging/comedi/drivers/ni_labpc_isadma.c +++ b/drivers/staging/comedi/drivers/ni_labpc_isadma.c @@ -152,7 +152,7 @@ static void handle_isa_dma(struct comedi_device *dev) void labpc_handle_dma_status(struct comedi_device *dev) { - const struct labpc_boardinfo *board = comedi_board(dev); + const struct labpc_boardinfo *board = dev->board_ptr; struct labpc_private *devpriv = dev->private; /* |