commit | a890d56a9d9e4a8345c08f9212504bbc396bb7dd | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Fri Jul 28 16:00:42 2017 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 28 17:15:16 2017 +0200 |
tree | 2de5b05924df00ba4d75ba4b6c53fb1993bf5e06 | |
parent | 47a6623b2d678bc5ce6d3fefbb26b4392bec4929 [diff] |
w1: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>