drivers/macintosh: Make wf_control_ops and wf_pid_param const
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 11 Aug 2017 17:38:45 +0000 (23:08 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Aug 2017 11:57:56 +0000 (21:57 +1000)
commit1ad35f6e2864d9b52fe9705ede1730468c25f692
tree0c06c67e1400c00e9697eef5fd173cd2fdc5bdd9
parentb3376dcc6c62452fe24e76d8fc35bb13eb7ee178
drivers/macintosh: Make wf_control_ops and wf_pid_param const

Make wf_control_ops const as they are only stored in the ops field of a
wf_control structure, which is const.
Make wf_pid_param const as they are only used during a copy operation.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/macintosh/windfarm_cpufreq_clamp.c
drivers/macintosh/windfarm_rm31.c
drivers/macintosh/windfarm_smu_controls.c