powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 23 Dec 2015 21:59:55 +0000 (22:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jan 2016 23:29:35 +0000 (00:29 +0100)
commit600c395bf6c4e44ec831e850d7f93ce53d7373be
tree5fd394811a50f7edbcab38c06dde00c507475477
parent74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

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 <Julia.Lawall@lip6.fr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c
drivers/powercap/powercap_sys.c
include/linux/powercap.h