Searched hist:"735 e1bb1b8067e209941a6bdfde23214696ff47e" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | hid.h | diff 735e1bb1b8067e209941a6bdfde23214696ff47e Fri Sep 02 08:29:25 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: convert defines of HID class requests into a proper enum
This allows to export the type in BTF and so in the automatically generated vmlinux.h. It will also add some static checks on the users when we change the ll driver API (see not below).
Note that we need to also do change in the ll_driver API, but given that this will have a wider impact outside of this tree, we leave this as a TODO for the future.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20220902132938.2409206-11-benjamin.tissoires@redhat.com
|
/openbmc/linux/include/linux/ |
H A D | hid.h | diff 735e1bb1b8067e209941a6bdfde23214696ff47e Fri Sep 02 08:29:25 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: convert defines of HID class requests into a proper enum
This allows to export the type in BTF and so in the automatically generated vmlinux.h. It will also add some static checks on the users when we change the ll driver API (see not below).
Note that we need to also do change in the ll_driver API, but given that this will have a wider impact outside of this tree, we leave this as a TODO for the future.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20220902132938.2409206-11-benjamin.tissoires@redhat.com
|
/openbmc/linux/drivers/hid/ |
H A D | hid-core.c | diff 735e1bb1b8067e209941a6bdfde23214696ff47e Fri Sep 02 08:29:25 CDT 2022 Benjamin Tissoires <benjamin.tissoires@redhat.com> HID: convert defines of HID class requests into a proper enum
This allows to export the type in BTF and so in the automatically generated vmlinux.h. It will also add some static checks on the users when we change the ll driver API (see not below).
Note that we need to also do change in the ll_driver API, but given that this will have a wider impact outside of this tree, we leave this as a TODO for the future.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Link: https://lore.kernel.org/r/20220902132938.2409206-11-benjamin.tissoires@redhat.com
|