HID: lenovo: Make array tp10ubkbd_led static const
authorColin Ian King <colin.i.king@gmail.com>
Wed, 5 Oct 2022 15:42:16 +0000 (16:42 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 18 Oct 2022 12:43:59 +0000 (14:43 +0200)
commite66928af3667a9d844a674976ba7765757ab68e2
treeec4b9e8db61176f208bd455a6a4b29a6c6d4ef31
parent79425b297f56bd481c6e97700a9a4e44c7bcfa35
HID: lenovo: Make array tp10ubkbd_led static const

Don't populate the read-only array tp10ubkbd_led on the stack but instead
make it static const. Also makes the object code a little smaller.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c