Re: [RESEND PATCH 3/3] clk: cdce706: Constify struct regmap_config

2015-03-27 Thread Stephen Boyd
On 03/22, Max Filippov wrote: > On Fri, Mar 20, 2015 at 2:34 PM, Krzysztof Kozlowski > wrote: > > The regmap_config struct may be const because it is not modified by the > > driver and regmap_init() accepts pointer to const. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > drivers/clk/clk-

Re: [RESEND PATCH 3/3] clk: cdce706: Constify struct regmap_config

2015-03-21 Thread Max Filippov
On Fri, Mar 20, 2015 at 2:34 PM, Krzysztof Kozlowski wrote: > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/clk/clk-cdce706.c | 2 +- > 1 file changed, 1 insertio

[RESEND PATCH 3/3] clk: cdce706: Constify struct regmap_config

2015-03-20 Thread Krzysztof Kozlowski
The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/clk-cdce706.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-cdce706.c b/drivers/clk/