projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4128ca
)
USB: cdc-acm: use BIT macro
author
Oliver Neukum
<
[email protected]
>
Mon, 19 May 2014 11:55:25 +0000
(13:55 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 27 May 2014 23:03:57 +0000
(16:03 -0700)
Converting the header to BIT for readability. No functional
change.
Signed-off-by: Oliver Neukum <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/class/cdc-acm.h
patch
|
blob
|
history
diff --git
a/drivers/usb/class/cdc-acm.h
b/drivers/usb/class/cdc-acm.h
index 80826f843e040c711e0df033b92ca2520260e4ff..fc75651afe1c9cda8983aa82dfa8b81cfa3fb5bf 100644
(file)
--- a/
drivers/usb/class/cdc-acm.h
+++ b/
drivers/usb/class/cdc-acm.h
@@
-126,9
+126,9
@@
struct acm {
#define CDC_DATA_INTERFACE_TYPE 0x0a
/* constants describing various quirks and errors */
-#define NO_UNION_NORMAL
1
-#define SINGLE_RX_URB
2
-#define NO_CAP_LINE
4
-#define NOT_A_MODEM
8
-#define NO_DATA_INTERFACE
16
-#define IGNORE_DEVICE
32
+#define NO_UNION_NORMAL
BIT(0)
+#define SINGLE_RX_URB
BIT(1)
+#define NO_CAP_LINE
BIT(2)
+#define NOT_A_MODEM
BIT(3)
+#define NO_DATA_INTERFACE
BIT(4)
+#define IGNORE_DEVICE
BIT(5)