diff options
author | Oliver Neukum <oneukum@suse.de> | 2014-05-19 07:55:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 19:03:57 -0400 |
commit | d1b781002b31247d38a2892c51b88348d6a8f201 (patch) | |
tree | ab8c39e51b35e1995385f1a1099071dc13ba285a | |
parent | c4128cac3557ddd5fa972cb6511c426cd94a7ccd (diff) |
USB: cdc-acm: use BIT macro
Converting the header to BIT for readability. No functional
change.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/class/cdc-acm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/usb/class/cdc-acm.h b/drivers/usb/class/cdc-acm.h index 80826f843e04..fc75651afe1c 100644 --- a/drivers/usb/class/cdc-acm.h +++ b/drivers/usb/class/cdc-acm.h | |||
@@ -126,9 +126,9 @@ struct acm { | |||
126 | #define CDC_DATA_INTERFACE_TYPE 0x0a | 126 | #define CDC_DATA_INTERFACE_TYPE 0x0a |
127 | 127 | ||
128 | /* constants describing various quirks and errors */ | 128 | /* constants describing various quirks and errors */ |
129 | #define NO_UNION_NORMAL 1 | 129 | #define NO_UNION_NORMAL BIT(0) |
130 | #define SINGLE_RX_URB 2 | 130 | #define SINGLE_RX_URB BIT(1) |
131 | #define NO_CAP_LINE 4 | 131 | #define NO_CAP_LINE BIT(2) |
132 | #define NOT_A_MODEM 8 | 132 | #define NOT_A_MODEM BIT(3) |
133 | #define NO_DATA_INTERFACE 16 | 133 | #define NO_DATA_INTERFACE BIT(4) |
134 | #define IGNORE_DEVICE 32 | 134 | #define IGNORE_DEVICE BIT(5) |