Tag: 600c395bf6c4e44ec831e850d7f93ce53d7373be

powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

Author: Julia Lawall <Julia.Lawall@lip6.fr> The powercap_zone_ops and powercap_zone_constraint_ops structures are never modified, so declare them as const. Most of the actual changes adjust indentation to accomodate the const keyword. Done with the help of Coccinelle. Signed-off-by: Julia Lawall Signed-off-by: Rafael J. Wysocki — drivers/powercap/intel_rapl.c | 4 ++– drivers/powercap/powercap_sys.c | 18 +++++++++——— include/linux/powercap.h | 4 ++– …

Continue reading