Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f83cbc53 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: dt282x: tidy up Digital I/O subdevice init



For aesthetics, add some whitespace to the Digital I/O subdevice init.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 198c15a6
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
@@ -1304,15 +1304,15 @@ static int dt282x_attach(struct comedi_device *dev, struct comedi_devconfig *it)
		s->type = COMEDI_SUBD_UNUSED;
		s->type = COMEDI_SUBD_UNUSED;
	}
	}


	/* Digital I/O subdevice */
	s = &dev->subdevices[2];
	s = &dev->subdevices[2];
	/* dio subsystem */
	s->type		= COMEDI_SUBD_DIO;
	s->type		= COMEDI_SUBD_DIO;
	s->subdev_flags	= SDF_READABLE | SDF_WRITABLE;
	s->subdev_flags	= SDF_READABLE | SDF_WRITABLE;
	s->n_chan	= 16;
	s->n_chan	= 16;
	s->insn_bits = dt282x_dio_insn_bits;
	s->insn_config = dt282x_dio_insn_config;
	s->maxdata	= 1;
	s->maxdata	= 1;
	s->range_table	= &range_digital;
	s->range_table	= &range_digital;
	s->insn_bits	= dt282x_dio_insn_bits;
	s->insn_config	= dt282x_dio_insn_config;


	return 0;
	return 0;
}
}