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

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

staging: comedi: dt2811: tidy up analog output subdevice init



Add some whitespace to the analog output subdevice initialization.

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 5fba2739
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -328,12 +328,12 @@ static int dt2811_attach(struct comedi_device *dev, struct comedi_devconfig *it)
		break;
	}

	/* Analog Output subdevice */
	s = &dev->subdevices[1];
	/* ao subdevice */
	s->type		= COMEDI_SUBD_AO;
	s->subdev_flags	= SDF_WRITABLE;
	s->n_chan	= 2;
	s->maxdata = 0xfff;
	s->maxdata	= 0x0fff;
	s->range_table	= &dt2811_ao_ranges;
	s->insn_write	= dt2811_ao_insn_write;