staging: comedi: gsc_hpdi: tidy up the boardinfo
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 13 Mar 2014 21:16:31 +0000 (14:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:19:51 +0000 (14:19 -0700)
Remove the unnecessary comments in the boardinfo definition and
tidy up the declaration.

FWIW, I'm not sure this boardinfo is really needed...

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

index f95724a..2db02b4 100644 (file)
 #define NUM_DMA_DESCRIPTORS                    256
 
 struct hpdi_board {
-       const char *name;       /*  board name */
-       int device_id;          /*  pci device id */
-       int subdevice_id;       /*  pci subdevice id */
+       const char *name;
+       int device_id;
+       int subdevice_id;
 };
 
 static const struct hpdi_board hpdi_boards[] = {
        {
-        .name = "pci-hpdi32",
-        .device_id = PCI_DEVICE_ID_PLX_9080,
-        .subdevice_id = 0x2400,
+               .name           = "pci-hpdi32",
+               .device_id      = PCI_DEVICE_ID_PLX_9080,
+               .subdevice_id   = 0x2400,
         },
 #if 0
        {
-        .name = "pxi-hpdi32",
-        .device_id = 0x9656,
-        .subdevice_id = 0x2705,
+               .name           = "pxi-hpdi32",
+               .device_id      = 0x9656,
+               .subdevice_id   = 0x2705,
         },
 #endif
 };