]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: comedi: das08: remove 'id' from boardinfo
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 5 Mar 2013 17:27:07 +0000 (10:27 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 17:05:23 +0000 (10:05 -0700)
With the bus specific code split out, the device id in the boardinfo
is no longer needed. 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>
drivers/staging/comedi/drivers/das08.h
drivers/staging/comedi/drivers/das08_cs.c
drivers/staging/comedi/drivers/das08_pci.c

index b102ad4918c465627d513db9d4e50cdcdcec506e..89bb8d6fdfc66fdd5816d4e357a2e3bcabc3fb4e 100644 (file)
@@ -32,7 +32,6 @@ enum das08_lrange { das08_pg_none, das08_bipolar5, das08_pgh, das08_pgl,
 
 struct das08_board_struct {
        const char *name;
-       unsigned int id;        /*  id for pci/pcmcia boards */
        bool is_jr;             /* true for 'JR' boards */
        unsigned int ai_nbits;
        enum das08_lrange ai_pg;
index cfeebe4d1ddda851136250231f5f398d89037e99..d9f3e92317d3a2b5f1f318089b0f0d38a8d9e59a 100644 (file)
@@ -59,7 +59,6 @@ Command support does not exist, but could be added for this board.
 static const struct das08_board_struct das08_cs_boards[] = {
        {
                .name           = "pcm-das08",
-               .id             = 0x0,  /*  XXX */
                .ai_nbits       = 12,
                .ai_pg          = das08_bipolar5,
                .ai_encoding    = das08_pcm_encode12,
index ecab0c4f70f2adc94675709d97a8b71b6b2121df..a56cee7f86ddbae6875ada48b711c6665cbcad02 100644 (file)
@@ -46,7 +46,6 @@
 static const struct das08_board_struct das08_pci_boards[] = {
        {
                .name           = "pci-das08",
-               .id             = PCI_DEVICE_ID_PCIDAS08,
                .ai_nbits       = 12,
                .ai_pg          = das08_bipolar5,
                .ai_encoding    = das08_encode12,