diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2014-09-09 11:26:53 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-11 14:32:53 -0700 |
| commit | 3230e42a7116279c66d11ecf2f017ed490107741 (patch) | |
| tree | acf857d5878a02e43825da6c0852d8cb80dc698d | |
| parent | dc453864d6124603af8e3600650304d9b9643586 (diff) | |
staging: comedi: pcmad: 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>
| -rw-r--r-- | drivers/staging/comedi/drivers/pcmad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/pcmad.c b/drivers/staging/comedi/drivers/pcmad.c index 87c61d9b11da..e3ac8ac6190e 100644 --- a/drivers/staging/comedi/drivers/pcmad.c +++ b/drivers/staging/comedi/drivers/pcmad.c @@ -112,7 +112,7 @@ static int pcmad_ai_insn_read(struct comedi_device *dev, static int pcmad_attach(struct comedi_device *dev, struct comedi_devconfig *it) { - const struct pcmad_board_struct *board = comedi_board(dev); + const struct pcmad_board_struct *board = dev->board_ptr; struct comedi_subdevice *s; int ret; |
