HID: ntrig: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 3 Aug 2017 11:29:05 +0000 (16:59 +0530)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Aug 2017 11:38:30 +0000 (13:38 +0200)
commit1d710da2ee7b4c3d89efa16807ad0d9856107a17
tree9f469d15ef0d78217c76b9f95f9f072f6f77046f
parent35a33cb511997dd58b642b796b9396d62c43667d
HID: ntrig: 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-ntrig.c