Re: [RESEND PATCH 1/3] clk: si5351: Constify clock names and 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. > > > > Replace doubled const in the arrays of clock names with proper

Re: [RESEND PATCH 1/3] clk: si5351: Constify clock names and 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 k.kozlow...@samsung.com wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Replace doubled const in the arrays of clock names

Re: [RESEND PATCH 1/3] clk: si5351: Constify clock names and 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. > > Replace doubled const in the arrays of clock names with proper const > pointer to const data. This fixes

Re: [RESEND PATCH 1/3] clk: si5351: Constify clock names and struct regmap_config

2015-03-21 Thread Max Filippov
On Fri, Mar 20, 2015 at 2:34 PM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: The regmap_config struct may be const because it is not modified by the driver and regmap_init() accepts pointer to const. Replace doubled const in the arrays of clock names with proper const pointer to const