Re: [PATCH] PowerCap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2016-01-02 Thread Rafael J. Wysocki
On Wednesday, December 23, 2015 10:59:55 PM Julia Lawall wrote: > 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

Re: [PATCH] PowerCap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2016-01-02 Thread Rafael J. Wysocki
On Wednesday, December 23, 2015 10:59:55 PM Julia Lawall wrote: > 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

[PATCH] PowerCap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2015-12-23 Thread Julia Lawall
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 --- drivers/powercap/intel_rapl.c |

[PATCH] PowerCap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2015-12-23 Thread Julia Lawall
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 ---