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

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

staging: comedi: ni_labpc_cs: cleanup the boardinfo declaration



For aesthetic reasons, reformat the boardinfo declaration and
add some whitespace. Remove all the information that is set to
'0' as this is the default.

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 6e4733c3
Loading
Loading
Loading
Loading
+21 −27
Original line number Diff line number Diff line
@@ -80,8 +80,7 @@ static struct pcmcia_device *pcmcia_cur_dev;
static const struct labpc_board_struct labpc_cs_boards[] = {
	{
		.name			= "daqcard-1200",
	 .device_id = 0x103,	/* 0x10b is manufacturer id,
				   0x103 is device id */
		.device_id		= 0x103,
		.ai_speed		= 10000,
		.bustype		= pcmcia_bustype,
		.register_layout	= labpc_1200_layout,
@@ -89,11 +88,8 @@ static const struct labpc_board_struct labpc_cs_boards[] = {
		.ai_range_table		= &range_labpc_1200_ai,
		.ai_range_code		= labpc_1200_ai_gain_bits,
		.ai_range_is_unipolar	= labpc_1200_is_unipolar,
	 .ai_scan_up = 0,
	 .memory_mapped_io = 0,
	 },
	}, {
		/* duplicate entry, to support using alternate name */
	{
		.name			= "ni_labpc_cs",
		.device_id		= 0x103,
		.ai_speed		= 10000,
@@ -103,8 +99,6 @@ static const struct labpc_board_struct labpc_cs_boards[] = {
		.ai_range_table		= &range_labpc_1200_ai,
		.ai_range_code		= labpc_1200_ai_gain_bits,
		.ai_range_is_unipolar	= labpc_1200_is_unipolar,
	 .ai_scan_up = 0,
	 .memory_mapped_io = 0,
	},
};