From: H Hartley Sweeten Date: Thu, 20 Nov 2014 22:10:55 +0000 (-0700) Subject: staging: comedi: adv_pci1724: remove enum sync_output_trigger_contents X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=80b00a5842e2523a66c501c2858bd464cc9d0a06;p=linux-beck.git staging: comedi: adv_pci1724: remove enum sync_output_trigger_contents 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adv_pci1724.c b/drivers/staging/comedi/drivers/adv_pci1724.c index f4c42eb031fc..f8198efb1a09 100644 --- a/drivers/staging/comedi/drivers/adv_pci1724.c +++ b/drivers/staging/comedi/drivers/adv_pci1724.c @@ -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 };