summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2014-07-29 12:58:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-30 16:54:03 -0700
commitad501004d61f542c7cc5fce965e407dc05e2cbda (patch)
tree2bb71386043f5a1509a83ce4bd882fb869e0329b /drivers/staging/comedi
parente3f59e1c5f48bf1ba07467ff83bf8d889e273c8a (diff)
staging: comedi: amplc_pci230: remove unused settling time constants
The macro constants `PCI230_DAC_SETTLE`, `PCI230_ADC_SETTLE` and `PCI230_MUX_SETTLE` are never used. Just remove them. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
-rw-r--r--drivers/staging/comedi/drivers/amplc_pci230.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/comedi/drivers/amplc_pci230.c b/drivers/staging/comedi/drivers/amplc_pci230.c
index 00d7a2277e85..7983a0d53928 100644
--- a/drivers/staging/comedi/drivers/amplc_pci230.c
+++ b/drivers/staging/comedi/drivers/amplc_pci230.c
@@ -247,19 +247,6 @@
#define PCI230P2_DACEN 0x06 /* DAC channel enable (FIFO mode) */
/*
- * Convertor related constants.
- */
-/* Analogue output settling time in µs (DAC itself is 1µs nominally). */
-#define PCI230_DAC_SETTLE 5
-/*
- * Analogue input settling time in µs (ADC itself is 1.6µs nominally but we
- * poll anyway).
- */
-#define PCI230_ADC_SETTLE 1
-/* ADC MUX settling time in µS - 10µs for se, 20µs de. */
-#define PCI230_MUX_SETTLE 10
-
-/*
* DACCON read-write values.
*/
#define PCI230_DAC_OR_UNI (0<<0) /* Output range unipolar */