summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-10 11:07:22 +0530
committerLee Jones <lee.jones@linaro.org>2017-09-05 08:46:00 +0100
commit52557dc624df7de5808c5c26476f3a8863bb0128 (patch)
tree2884c5e95eae89617443bad332634eb8f75ee3c8 /Documentation/devicetree/bindings/mfd
parent5368b06dba4b911654221f3aad92b3298392a59a (diff)
downloadop-kernel-dev-52557dc624df7de5808c5c26476f3a8863bb0128.zip
op-kernel-dev-52557dc624df7de5808c5c26476f3a8863bb0128.tar.gz
mfd: ab8500-core: Constify attribute_group structures
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by <linux/sysfs.h> work with const attribute_group. So mark the non-const structs as const. File size before: text data bss dec hex filename 16298 1009 184 17491 4453 drivers/mfd/ab8500-core.o File size After adding 'const': text data bss dec hex filename 16490 817 184 17491 4453 drivers/mfd/ab8500-core.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud