summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Abbott2013-10-07 18:29:38 +0200
committerGreg Kroah-Hartman2013-10-08 03:59:55 +0200
commit3ceba4ba9882bf9e5ecfa5823c79ba92659e4776 (patch)
tree9a8e201065c2b2dde0e4df1b6f14f938d63ba411
parentstaging: r8188eu: Fix skb leak in usb_read_port_complete() (diff)
downloadkernel-qcow2-linux-3ceba4ba9882bf9e5ecfa5823c79ba92659e4776.tar.gz
kernel-qcow2-linux-3ceba4ba9882bf9e5ecfa5823c79ba92659e4776.tar.xz
kernel-qcow2-linux-3ceba4ba9882bf9e5ecfa5823c79ba92659e4776.zip
staging: comedi: dt9812: remove ifdefed out enums
Remove the #if'd out DT9812_DEVID_... enumerated constants and line up the comments for the others. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/dt9812.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/staging/comedi/drivers/dt9812.c b/drivers/staging/comedi/drivers/dt9812.c
index 64565d4c902d..73af600c1725 100644
--- a/drivers/staging/comedi/drivers/dt9812.c
+++ b/drivers/staging/comedi/drivers/dt9812.c
@@ -85,13 +85,9 @@ for my needs.
#define F020_MASK_DACxCN_DACxEN 0x80
enum {
- /* A/D D/A DI DO CT */
- DT9812_DEVID_DT9812_10, /* 8 2 8 8 1 +/- 10V */
- DT9812_DEVID_DT9812_2PT5, /* 8 2 8 8 1 0-2.44V */
-#if 0
- DT9812_DEVID_DT9813, /* 16 2 4 4 1 +/- 10V */
- DT9812_DEVID_DT9814 /* 24 2 0 0 1 +/- 10V */
-#endif
+ /* A/D D/A DI DO CT */
+ DT9812_DEVID_DT9812_10, /* 8 2 8 8 1 +/- 10V */
+ DT9812_DEVID_DT9812_2PT5, /* 8 2 8 8 1 0-2.44V */
};
enum dt9812_gain {