mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-27 21:14:22 +07:00
staging: comedi: addi_apci_1516: 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
664fce451e
commit
d8eae1303a
@ -102,7 +102,7 @@ static int apci1516_do_insn_bits(struct comedi_device *dev,
|
||||
|
||||
static int apci1516_reset(struct comedi_device *dev)
|
||||
{
|
||||
const struct apci1516_boardinfo *this_board = comedi_board(dev);
|
||||
const struct apci1516_boardinfo *this_board = dev->board_ptr;
|
||||
struct apci1516_private *devpriv = dev->private;
|
||||
|
||||
if (!this_board->has_wdog)
|
||||
|
Loading…
Reference in New Issue
Block a user