aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-02 16:49:05 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 17:15:16 +0200
commit0faef109bdac1328b529342bfc8c3d34005a56fe (patch)
treecf887530a0fb66efbd79740343b69b9d983b4c69 /drivers/w1
parentw1: constify attribute_group structures. (diff)
downloadlinux-dev-0faef109bdac1328b529342bfc8c3d34005a56fe.tar.xz
linux-dev-0faef109bdac1328b529342bfc8c3d34005a56fe.zip
char: tlclk: 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>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions