On Sun, 31 Jan 2021, Rikard Falkeborn wrote: > The only usage of attr_group is to pass its address to > sysfs_create_group() and sysfs_remove_group(), both which takes pointers > to const attribute_group structs. Make it const to allow the compiler to > put it in read-only memory. > > Done with the help of coccinelle. > > Signed-off-by: Rikard Falkeborn <[email protected]> > --- > drivers/mfd/gateworks-gsc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
These patches do not seem to be on LKML. Do you know if they were rejected for some reason? -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog

