]> git.baikalelectronics.ru Git - kernel.git/commit
HID: logitech-hidpp: Remove hard-coded "Sw. Id." for HID++ 2.0 commands
authorBastien Nocera <hadess@hadess.net>
Tue, 30 Aug 2022 13:25:49 +0000 (15:25 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Sep 2022 20:07:49 +0000 (22:07 +0200)
commitaea064cae3883f778c67875f8b142c3cfa1f49e6
tree34fdd66440ff3b2ab36f67601d9c617575940859
parente00dd87ca37d858d2a747316ba03f825f59de80b
HID: logitech-hidpp: Remove hard-coded "Sw. Id." for HID++ 2.0 commands

Some HID++ 2.0 commands had correctly set a non-zero software identifier
directly as part of their function identifiers, but it's more correct to
define the function identifier and the software identifier separately
before combined them when the command is sent.

As this is now done in the previous commit, remove the hard-coded 0x1
software identifiers in the function definitions.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c