On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote: > 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.
I think it's good you are doing all of these. Instead of individually sending these patches, could you please send a patch series for all of these attribute_group patches with a cover letter at the same time? That could make it easier for a trivial maintainer to apply all of these at once and not get some applied and others ignored or dropped on the floor.