+1
−1
+3
−3
+2
−2
+1
−1
Loading
The attribute_group structs are never modified, they're only passed to sysfs_create_group() and sysfs_remove_group(). Make them const to allow the compiler to put them in read-only memory. Signed-off-by:Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by:
Song Liu <song@kernel.org>