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

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

staging: comedi: pcmda12: remove 'IOSIZE' define



This define has a very generic name. Its only used in one place
so instead of renaming it just remove it and open code the value.

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 ef7654c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -49,8 +49,6 @@ Configuration Options:

#include "../comedidev.h"

#define IOSIZE 16

/* AI range is not configurable, it's set by jumpers on the board */
static const struct comedi_lrange pcmda12_ranges = {
	3, {
@@ -135,7 +133,7 @@ static int pcmda12_attach(struct comedi_device *dev,
	struct comedi_subdevice *s;
	int ret;

	ret = comedi_request_region(dev, it->options[0], IOSIZE);
	ret = comedi_request_region(dev, it->options[0], 0x10);
	if (ret)
		return ret;