Re: drivers/macintosh: make wf_control_ops and wf_pid_param const

2017-08-16 Thread Michael Ellerman
On Fri, 2017-08-11 at 17:38:45 UTC, Bhumika Goyal wrote: > 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 Go

[PATCH] drivers/macintosh: make wf_control_ops and wf_pid_param const

2017-08-11 Thread Bhumika Goyal
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 --- Cross compiled windfarm_smu_controls.o and windfarm_rm31.o f