]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: core: use utility macros to define sysfs attributes
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 2 Dec 2024 19:01:32 +0000 (20:01 +0100)
committerJiri Kosina <jkosina@suse.com>
Wed, 11 Dec 2024 14:11:04 +0000 (15:11 +0100)
commit725bf3d8faab91cfd55e275752509fed851da643
tree95e3abf3721ddd2fa1c3930e1eaf55671edc8300
parent2a770b49b1bf00fca5473cb386eaf36d21d17d4b
HID: core: use utility macros to define sysfs attributes

Save some lines of code and prepare for the constification of
'struct bin_attribute'.
Also align the definitions within the source file.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-core.c