Commit ecab2eff authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: dt3000: cleanup the boardinfo

Add some whitespace to make the code more readable.
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 ad25f545
...@@ -91,7 +91,6 @@ static const struct comedi_lrange range_dt3000_ai_pgl = { ...@@ -91,7 +91,6 @@ static const struct comedi_lrange range_dt3000_ai_pgl = {
}; };
struct dt3k_boardtype { struct dt3k_boardtype {
const char *name; const char *name;
unsigned int device_id; unsigned int device_id;
int adchan; int adchan;
...@@ -103,7 +102,8 @@ struct dt3k_boardtype { ...@@ -103,7 +102,8 @@ struct dt3k_boardtype {
}; };
static const struct dt3k_boardtype dt3k_boardtypes[] = { static const struct dt3k_boardtype dt3k_boardtypes[] = {
{.name = "dt3001", {
.name = "dt3001",
.device_id = PCI_DEVICE_ID_DT3001, .device_id = PCI_DEVICE_ID_DT3001,
.adchan = 16, .adchan = 16,
.adbits = 12, .adbits = 12,
...@@ -111,8 +111,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = { ...@@ -111,8 +111,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = {
.ai_speed = 3000, .ai_speed = 3000,
.dachan = 2, .dachan = 2,
.dabits = 12, .dabits = 12,
}, }, {
{.name = "dt3001-pgl", .name = "dt3001-pgl",
.device_id = PCI_DEVICE_ID_DT3001_PGL, .device_id = PCI_DEVICE_ID_DT3001_PGL,
.adchan = 16, .adchan = 16,
.adbits = 12, .adbits = 12,
...@@ -120,15 +120,15 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = { ...@@ -120,15 +120,15 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = {
.ai_speed = 3000, .ai_speed = 3000,
.dachan = 2, .dachan = 2,
.dabits = 12, .dabits = 12,
}, }, {
{.name = "dt3002", .name = "dt3002",
.device_id = PCI_DEVICE_ID_DT3002, .device_id = PCI_DEVICE_ID_DT3002,
.adchan = 32, .adchan = 32,
.adbits = 12, .adbits = 12,
.adrange = &range_dt3000_ai, .adrange = &range_dt3000_ai,
.ai_speed = 3000, .ai_speed = 3000,
}, }, {
{.name = "dt3003", .name = "dt3003",
.device_id = PCI_DEVICE_ID_DT3003, .device_id = PCI_DEVICE_ID_DT3003,
.adchan = 64, .adchan = 64,
.adbits = 12, .adbits = 12,
...@@ -136,8 +136,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = { ...@@ -136,8 +136,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = {
.ai_speed = 3000, .ai_speed = 3000,
.dachan = 2, .dachan = 2,
.dabits = 12, .dabits = 12,
}, }, {
{.name = "dt3003-pgl", .name = "dt3003-pgl",
.device_id = PCI_DEVICE_ID_DT3003_PGL, .device_id = PCI_DEVICE_ID_DT3003_PGL,
.adchan = 64, .adchan = 64,
.adbits = 12, .adbits = 12,
...@@ -145,8 +145,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = { ...@@ -145,8 +145,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = {
.ai_speed = 3000, .ai_speed = 3000,
.dachan = 2, .dachan = 2,
.dabits = 12, .dabits = 12,
}, }, {
{.name = "dt3004", .name = "dt3004",
.device_id = PCI_DEVICE_ID_DT3004, .device_id = PCI_DEVICE_ID_DT3004,
.adchan = 16, .adchan = 16,
.adbits = 16, .adbits = 16,
...@@ -154,8 +154,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = { ...@@ -154,8 +154,8 @@ static const struct dt3k_boardtype dt3k_boardtypes[] = {
.ai_speed = 10000, .ai_speed = 10000,
.dachan = 2, .dachan = 2,
.dabits = 12, .dabits = 12,
}, }, {
{.name = "dt3005", /* a.k.a. 3004-200 */ .name = "dt3005", /* a.k.a. 3004-200 */
.device_id = PCI_DEVICE_ID_DT3005, .device_id = PCI_DEVICE_ID_DT3005,
.adchan = 16, .adchan = 16,
.adbits = 16, .adbits = 16,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment