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>
This commit is contained in:
parent
8cf27116e3
commit
765c8b03d7
|
@ -152,7 +152,7 @@ static void handle_isa_dma(struct comedi_device *dev)
|
||||||
|
|
||||||
void labpc_handle_dma_status(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;
|
struct labpc_private *devpriv = dev->private;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue