staging: comedi: rti800: tidy up rti800_di_insn_bits()
For aesthetic reasons, tidy up the parameters passed to this function. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bd838bea6a
commit
a4b279ba95
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ static int rti800_ao_insn_write(struct comedi_device *dev,
|
|||
|
||||
static int rti800_di_insn_bits(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_insn *insn, unsigned int *data)
|
||||
struct comedi_insn *insn,
|
||||
unsigned int *data)
|
||||
{
|
||||
data[1] = inb(dev->iobase + RTI800_DI);
|
||||
return insn->n;
|
||||
|
|
Loading…
Add table
Reference in a new issue