]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7606df8c14a4a5ebd8ef2c337cde2e40465b8743
tree0c06c67e1400c00e9697eef5fd173cd2fdc5bdd9
parent7a7371db25600f482e63a3b1ce0cac34f9791214
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