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 const
> > pointer to const data. This fixes the warnings:
> >
> > drivers/clk/clk-si5351.c:71:25: warning: duplicate const
> > drivers/clk/clk-si5351.c:74:25: warning: duplicate const
> > drivers/clk/clk-si5351.c:77:25: warning: duplicate const
> > drivers/clk/clk-si5351.c:80:25: warning: duplicate const
> >
> > Signed-off-by: Krzysztof Kozlowski 
> > ---
> >  drivers/clk/clk-si5351.c | 10 +-
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> Reviewed-by: Max Filippov 
> 

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 with proper const
  pointer to const data. This fixes the warnings:
 
  drivers/clk/clk-si5351.c:71:25: warning: duplicate const
  drivers/clk/clk-si5351.c:74:25: warning: duplicate const
  drivers/clk/clk-si5351.c:77:25: warning: duplicate const
  drivers/clk/clk-si5351.c:80:25: warning: duplicate const
 
  Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
  ---
   drivers/clk/clk-si5351.c | 10 +-
   1 file changed, 5 insertions(+), 5 deletions(-)
 
 Reviewed-by: Max Filippov jcmvb...@gmail.com
 

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 the warnings:
>
> drivers/clk/clk-si5351.c:71:25: warning: duplicate const
> drivers/clk/clk-si5351.c:74:25: warning: duplicate const
> drivers/clk/clk-si5351.c:77:25: warning: duplicate const
> drivers/clk/clk-si5351.c:80:25: warning: duplicate const
>
> Signed-off-by: Krzysztof Kozlowski 
> ---
>  drivers/clk/clk-si5351.c | 10 +-
>  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Max Filippov 

-- 
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


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 data. This fixes the warnings:

 drivers/clk/clk-si5351.c:71:25: warning: duplicate const
 drivers/clk/clk-si5351.c:74:25: warning: duplicate const
 drivers/clk/clk-si5351.c:77:25: warning: duplicate const
 drivers/clk/clk-si5351.c:80:25: warning: duplicate const

 Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
 ---
  drivers/clk/clk-si5351.c | 10 +-
  1 file changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Max Filippov jcmvb...@gmail.com

-- 
Thanks.
-- Max
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/