OSDN Git Service

staging: comedi: amplc_pc236: remove PCI device ID macros
authorIan Abbott <abbotti@mev.co.uk>
Fri, 25 Jul 2014 09:04:57 +0000 (10:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:28:38 +0000 (11:28 -0700)
commit62b5e46322f1655639ae749f7f1dda1a6a5eb932
tree0f8b84f9eb0555e9157a2adba85ac9d968ef7426
parentb4eafd11351d90a652657cc2a12728c51000d5e3
staging: comedi: amplc_pc236: remove PCI device ID macros

The `PCI_DEVICE_ID_AMPLICON_PCI236` macro is only used once, in the
module device table, so remove it and expand the macro in the table.

`The `PCI_DEVICE_ID_INVALID` macro is no longer used, so remove it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_pc236.c