]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: asus: Replace magic number with HID_UP_ASUSVENDOR constant
authorIonut Nechita <ionut_n2001@yahoo.com>
Wed, 7 Jan 2026 15:42:18 +0000 (17:42 +0200)
committerJiri Kosina <jkosina@suse.com>
Thu, 8 Jan 2026 11:17:16 +0000 (12:17 +0100)
commit06501b557faec7c4aa1a3188e14c8c3d1e6e15de
treec95dda6c771dab659e672413733961fe6fc85fc5
parentfde4ce068d1bccacf1e2d6a28697a3847f28e0a6
HID: asus: Replace magic number with HID_UP_ASUSVENDOR constant

Use the existing HID_UP_ASUSVENDOR constant instead of the magic number
0xff310000 for better code clarity and maintainability.

Reviewed-by: Denis Benato <benato.denis96@gmail.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-asus.c