devicetree: bindings: Use linux-event-codes.h for evdev codes
Add a symlink to uapi/linux/linux-event-codes.h, and include that instead of (re)defining all the evdev type and code values in dt-bindings/input/input.h. This way we do not need to keep all the event codes synced manually. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
f902dd8934
commit
4f38b9f2f4
2 changed files with 2 additions and 509 deletions
1
include/dt-bindings/input/linux-event-codes.h
Symbolic link
1
include/dt-bindings/input/linux-event-codes.h
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../uapi/linux/input-event-codes.h
|
||||
Loading…
Add table
Add a link
Reference in a new issue