Re: [PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-30 Thread Stephen Boyd
On 08/28, Arvind Yadav wrote: > clk_ops are not supposed to change at runtime. All functions > working with clk_ops provided by work > with const clk_ops. So mark the non-const clk_ops as const. > > Here, Function "clk_reg_prcc" is used to initialized clk_init_data. > clk_init_data is working

Re: [PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-30 Thread Stephen Boyd
On 08/28, Arvind Yadav wrote: > clk_ops are not supposed to change at runtime. All functions > working with clk_ops provided by work > with const clk_ops. So mark the non-const clk_ops as const. > > Here, Function "clk_reg_prcc" is used to initialized clk_init_data. > clk_init_data is working

[PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-28 Thread Arvind Yadav
clk_ops are not supposed to change at runtime. All functions working with clk_ops provided by work with const clk_ops. So mark the non-const clk_ops as const. Here, Function "clk_reg_prcc" is used to initialized clk_init_data. clk_init_data is working with const clk_ops. So make clk_reg_prcc

[PATCH 3/3] clk: ux500: prcc: constify clk_ops.

2017-08-28 Thread Arvind Yadav
clk_ops are not supposed to change at runtime. All functions working with clk_ops provided by work with const clk_ops. So mark the non-const clk_ops as const. Here, Function "clk_reg_prcc" is used to initialized clk_init_data. clk_init_data is working with const clk_ops. So make clk_reg_prcc