diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-08-14 18:24:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-15 15:25:34 -0700 |
commit | 4884f724c3f78eac7ea814fbd71545b45577a1be (patch) | |
tree | fc465d95e67065babacfec1f2336be7b5fe13ccc /drivers/staging | |
parent | f2eacff1369c46c7c4dab595a460dd9ec40e51db (diff) | |
download | op-kernel-dev-4884f724c3f78eac7ea814fbd71545b45577a1be.zip op-kernel-dev-4884f724c3f78eac7ea814fbd71545b45577a1be.tar.gz |
staging: comedi: dnya_pci10xx: remove unused fields in the boardinfo
The *_bits information in the boardinfo is not used by the driver.
Remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/dyna_pci10xx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/comedi/drivers/dyna_pci10xx.c b/drivers/staging/comedi/drivers/dyna_pci10xx.c index abfbb12..80bfae5 100644 --- a/drivers/staging/comedi/drivers/dyna_pci10xx.c +++ b/drivers/staging/comedi/drivers/dyna_pci10xx.c @@ -58,13 +58,9 @@ struct boardtype { const char *name; int device_id; int ai_chans; - int ai_bits; int ao_chans; - int ao_bits; int di_chans; - int di_bits; int do_chans; - int do_bits; const struct comedi_lrange *range_ai; const char *range_codes_ai; }; @@ -74,13 +70,9 @@ static const struct boardtype boardtypes[] = { .name = "dyna_pci1050", .device_id = 0x1050, .ai_chans = 16, - .ai_bits = 12, .ao_chans = 16, - .ao_bits = 12, .di_chans = 16, - .di_bits = 16, .do_chans = 16, - .do_bits = 16, .range_ai = &range_pci1050_ai, .range_codes_ai = range_codes_pci1050_ai, }, |