diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-03 14:28:35 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2017-08-03 14:38:30 +0300 |
commit | 58ee3e08aa4438467642fb280d3157c803081c0f (patch) | |
tree | d3c0c16c475bb17b1f6d70ddd0995005a0f9cccc /drivers/hid/hid-logitech-hidpp.c | |
parent | 9182fb98d64baad43a5721c7617cbf91a89279dd (diff) | |
download | linux-58ee3e08aa4438467642fb280d3157c803081c0f.tar.xz |
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>
Diffstat (limited to 'drivers/hid/hid-logitech-hidpp.c')
0 files changed, 0 insertions, 0 deletions