From: H Hartley Sweeten <hartl...@visionengravers.com>

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 <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/comedi/drivers/gsc_hpdi.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/drivers/staging/comedi/drivers/gsc_hpdi.c 
b/drivers/staging/comedi/drivers/gsc_hpdi.c
index f95724a..2db02b4 100644
--- a/drivers/staging/comedi/drivers/gsc_hpdi.c
+++ b/drivers/staging/comedi/drivers/gsc_hpdi.c
@@ -128,22 +128,22 @@
 #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
 };
-- 
1.8.5.2

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to