]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
HID: multitouch: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 3 Aug 2017 11:26:43 +0000 (16:56 +0530)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Aug 2017 11:38:29 +0000 (13:38 +0200)
commit9182fb98d64baad43a5721c7617cbf91a89279dd
tree72545e19b2b7006933131d6bfcb79f5e1bf633ab
parenta9d0683e0b62b46c7a5d0ebd8f642d8f9a4b7b32
HID: multitouch: constify attribute_group structures.

attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> work with
const attribute_group. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c