staging: comedi: adv_pci1724: remove enum sync_output_trigger_contents
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 20 Nov 2014 22:10:55 +0000 (15:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 23:36:41 +0000 (15:36 -0800)
This enum is not used in the driver. Remove it.

For aesthetics, rename the register define and move the comment that
any value will trigger the sync output.

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/adv_pci1724.c

index f4c42eb031fcdf4afd1d6b72cd9da832e767924f..f8198efb1a0933f6c29abaad8e3105344c1fe083 100644 (file)
@@ -72,13 +72,9 @@ supported PCI devices are configured as comedi devices automatically.
 #define PCI1724_SYNC_CTRL_DACSTAT      (1 << 1)
 #define PCI1724_SYNC_CTRL_SYN          (1 << 0)
 #define PCI1724_EEPROM_CTRL_REG                0x08
-#define PCI1724_SYNC_OUTPUT_TRIG_REG   0x0c
+#define PCI1724_SYNC_TRIG_REG          0x0c  /* any value works */
 #define PCI1724_BOARD_ID_REG           0x10
 
-enum sync_output_trigger_contents {
-       SYNC_TRIGGER_BITS = 0x0 /* any value works */
-};
-
 enum board_id_contents {
        BOARD_ID_MASK = 0xf
 };
This page took 0.025557 seconds and 5 git commands to generate.