diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2013-10-21 10:10:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-29 09:09:54 -0700 |
commit | 43ce748ff283169845af3eb012d22cd14792ce7d (patch) | |
tree | 807c56237e2ebb92b0f0b41654be02432f5f8af7 /drivers/staging | |
parent | 2cea19faf16304125ce12e4b5518110ef77f32a1 (diff) |
staging: comedi: s626: remove S626_BF_* macros
The `S626_BF_*` bitfield position macros are no longer used and are just
a subset of the corresponding `S626_STDBIT_*` bitfield position macros.
Remove them.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/s626.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/comedi/drivers/s626.h b/drivers/staging/comedi/drivers/s626.h index 8509537bb2d8..cbd59eb3fea7 100644 --- a/drivers/staging/comedi/drivers/s626.h +++ b/drivers/staging/comedi/drivers/s626.h @@ -499,15 +499,6 @@ #define S626_CLKMULT_2X 1 /* 2x clock multiplier. */ #define S626_CLKMULT_1X 2 /* 1x clock multiplier. */ -/* Bit Field positions in COUNTER_SETUP structure: */ -#define S626_BF_LOADSRC 9 /* Preload trigger. */ -#define S626_BF_INDXSRC 7 /* Index source. */ -#define S626_BF_INDXPOL 6 /* Index polarity. */ -#define S626_BF_ENCMODE 4 /* Encoder mode. */ -#define S626_BF_CLKPOL 3 /* Clock polarity/count direction. */ -#define S626_BF_CLKMULT 1 /* Clock multiplier. */ -#define S626_BF_CLKENAB 0 /* Clock enable. */ - /* Enumerated counter clock multipliers. */ #define S626_MULT_X0 0x0003 /* Supports no multipliers; |