commit | 1c6ef16d38091a1820e98df25900b5977e404bbd | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Tue Mar 20 12:04:47 2018 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Fri Mar 23 15:44:57 2018 +0100 |
tree | 099ab6e8199e5595e1665262ef66fb8296f062a6 | |
parent | 843e475f944a531210c71943efe09fca346a9a03 [diff] |
HID: use BIT macro instead of plain integers for flags This can lead to some hairy situation with the developer losing a day or two realizing that 4 should be after 2, not 3. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> -- include/linux/hid.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) Signed-off-by: Jiri Kosina <jkosina@suse.cz>