commit | 58ee3e08aa4438467642fb280d3157c803081c0f | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Thu Aug 03 16:58:35 2017 +0530 |
committer | Jiri Kosina <jkosina@suse.cz> | Thu Aug 03 13:38:30 2017 +0200 |
tree | d3c0c16c475bb17b1f6d70ddd0995005a0f9cccc | |
parent | 9182fb98d64baad43a5721c7617cbf91a89279dd [diff] |
HID: sensor: 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>