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)
commit0799617f3809d9f096fa18942391ef98ebb023b7
tree34fdd66440ff3b2ab36f67601d9c617575940859
parentf7b7393cc3b04e288de85790b1c8e62af99799c2
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