On Mon, 2017-07-10 at 16:04 +0530, Arvind Yadav wrote:Once again, I will send all of patch together, But I have doubt. If it's having
attribute_groups are not supposed to change at runtime. All functionsI think it's good you are doing all of these.
working with attribute_groups provided by <linux/sysfs.h> work
with const attribute_group. So mark the non-const structs as const.
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.