base: topology: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 2 Aug 2017 14:06:20 +0000 (19:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 15:49:22 +0000 (17:49 +0200)
commitdf44d30d28cb7dd4f3dc105d843a4a01f5dfc860
treeab33f78c886a0b55409d77753555f5c2cdafb4b0
parent6ef2541f268f56a4b93acb0f921c8fc4b74bfc9f
base: topology: 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>
drivers/base/topology.c