HID: roccat: make all 'class' structures const
authorIvan Orlov <ivan.orlov0322@gmail.com>
Tue, 20 Jun 2023 18:31:42 +0000 (20:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Aug 2023 09:23:35 +0000 (11:23 +0200)
commitfadfcf36016100dc9da0f1ab062c758e41f76b11
tree21dcb65a09c2f70e40c378a3812408076ea2923f
parent1d7546042f8fdc4bc39ab91ec966203e2d64f8bd
HID: roccat: make all 'class' structures const

Now that the driver core allows for struct class to be in read-only
memory, making all 'class' structures to be declared at build time
placing them into read-only memory, instead of having to be dynamically
allocated at load time.

Cc: Stefan Achatz <erazor_de@users.sourceforge.net>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-roccat-arvo.c
drivers/hid/hid-roccat-isku.c
drivers/hid/hid-roccat-kone.c
drivers/hid/hid-roccat-koneplus.c
drivers/hid/hid-roccat-konepure.c
drivers/hid/hid-roccat-kovaplus.c
drivers/hid/hid-roccat-pyra.c
drivers/hid/hid-roccat-ryos.c
drivers/hid/hid-roccat-savu.c
drivers/hid/hid-roccat.c
include/linux/hid-roccat.h