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:
2c54c86
)
HID: hid-input: Fix coding style issue
author
James C Boyd
<
[email protected]
>
Wed, 27 May 2015 22:09:08 +0000
(17:09 -0500)
committer
Jiri Kosina
<
[email protected]
>
Thu, 28 May 2015 08:41:45 +0000
(10:41 +0200)
This line is too long; split it up.
Signed-off-by: James C Boyd <
[email protected]
>
Signed-off-by: Jiri Kosina <
[email protected]
>
drivers/hid/hid-input.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-input.c
b/drivers/hid/hid-input.c
index abf4fc6126189079484503f370f635d7ff6ddeb6..3511bbaba505a4524ad382297ec1e486e21e7e48 100644
(file)
--- a/
drivers/hid/hid-input.c
+++ b/
drivers/hid/hid-input.c
@@
-1157,7
+1157,8
@@
void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct
return;
/* report the usage code as scancode if the key status has changed */
- if (usage->type == EV_KEY && (!test_bit(usage->code, input->key)) == value)
+ if (usage->type == EV_KEY &&
+ (!test_bit(usage->code, input->key)) == value)
input_event(input, EV_MSC, MSC_SCAN, usage->hid);
input_event(input, usage->type, usage->code, value);