staging: comedi: vmk80xx: 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
723b68a9f8
commit
957b9f8b41
|
@ -767,7 +767,7 @@ static int vmk80xx_alloc_usb_buffers(struct comedi_device *dev)
|
|||
|
||||
static int vmk80xx_init_subdevices(struct comedi_device *dev)
|
||||
{
|
||||
const struct vmk80xx_board *boardinfo = comedi_board(dev);
|
||||
const struct vmk80xx_board *boardinfo = dev->board_ptr;
|
||||
struct vmk80xx_private *devpriv = dev->private;
|
||||
struct comedi_subdevice *s;
|
||||
int n_subd;
|
||||
|
|
Loading…
Reference in New Issue