]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wiimote: make handlers[] const
authorIan Abbott <abbotti@mev.co.uk>
Fri, 4 Sep 2020 13:21:42 +0000 (14:21 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 7 Sep 2020 14:03:50 +0000 (16:03 +0200)
commitf52b560d7cab2916d29fa6d9d3b80ce8349d4365
treebb7497ce75f5c9a3097a2e2845d39322fe75bb7a
parent54f559d97941b5864eb3f74e154c91b56fcceb1b
HID: wiimote: make handlers[] const

The `handlers[]` array contents are never modified, so use the `const`
qualifier.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-wiimote-core.c