leds: blinkm: constify attribute_group structures.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Fri, 4 Aug 2017 06:25:52 +0000 (11:55 +0530)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Fri, 4 Aug 2017 19:54:15 +0000 (21:54 +0200)
commit7358df4d5b01d9b5cccad6149b63804e8cdcf1dc
treefc6e93bca30f517f29c3e98c8d0a9f42ef666aba
parentc68729119f4d2993bec3c9cb999ad76de5aeddba
leds: blinkm: 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: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-blinkm.c