Skip to content

Commit 323ddaa

Browse files
jc-boydJiri Kosina
authored andcommitted
HID: hid-input: Fix coding style issue
This line is too long; split it up. Signed-off-by: James C Boyd <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 2c54c86 commit 323ddaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/hid/hid-input.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,8 @@ void hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct
11571157
return;
11581158

11591159
/* report the usage code as scancode if the key status has changed */
1160-
if (usage->type == EV_KEY && (!test_bit(usage->code, input->key)) == value)
1160+
if (usage->type == EV_KEY &&
1161+
(!test_bit(usage->code, input->key)) == value)
11611162
input_event(input, EV_MSC, MSC_SCAN, usage->hid);
11621163

11631164
input_event(input, usage->type, usage->code, value);

0 commit comments

Comments
 (0)