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

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

staging: comedi: dt3000: cleanup the range tables



Use the BIP_RANGE() macro instead of the more generic RANGE()
macro.

Cleanup the whitespace.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbbeddfa
Loading
Loading
Loading
Loading
+14 −12
Original line number Diff line number Diff line
@@ -61,19 +61,21 @@ AO commands are not supported.

#include "comedi_fc.h"

static const struct comedi_lrange range_dt3000_ai = { 4, {
							  RANGE(-10, 10),
							  RANGE(-5, 5),
							  RANGE(-2.5, 2.5),
							  RANGE(-1.25, 1.25)
static const struct comedi_lrange range_dt3000_ai = {
	4, {
		BIP_RANGE(10),
		BIP_RANGE(5),
		BIP_RANGE(2.5),
		BIP_RANGE(1.25)
	}
};

static const struct comedi_lrange range_dt3000_ai_pgl = { 4, {
							      RANGE(-10, 10),
							      RANGE(-1, 1),
							      RANGE(-0.1, 0.1),
							      RANGE(-0.02, 0.02)
static const struct comedi_lrange range_dt3000_ai_pgl = {
	4, {
		BIP_RANGE(10),
		BIP_RANGE(1),
		BIP_RANGE(0.1),
		BIP_RANGE(0.02)
	}
};