projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branches 'for-4.2/i2c-hid', 'for-4.2/lenovo', 'for-4.2/plantronics', 'for-4...
[cascardo/linux.git]
/
drivers
/
hid
/
i2c-hid
/
i2c-hid.c
diff --git
a/drivers/hid/i2c-hid/i2c-hid.c
b/drivers/hid/i2c-hid/i2c-hid.c
index
0dfb5d1
..
f77469d
100644
(file)
--- a/
drivers/hid/i2c-hid/i2c-hid.c
+++ b/
drivers/hid/i2c-hid/i2c-hid.c
@@
-42,9
+42,9
@@
#include <linux/i2c/i2c-hid.h>
/* flags */
#include <linux/i2c/i2c-hid.h>
/* flags */
-#define I2C_HID_STARTED
(1 << 0)
-#define I2C_HID_RESET_PENDING
(1 << 1)
-#define I2C_HID_READ_PENDING
(1 << 2)
+#define I2C_HID_STARTED
0
+#define I2C_HID_RESET_PENDING
1
+#define I2C_HID_READ_PENDING
2
#define I2C_HID_PWR_ON 0x00
#define I2C_HID_PWR_SLEEP 0x01
#define I2C_HID_PWR_ON 0x00
#define I2C_HID_PWR_SLEEP 0x01