From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752948AbbC0HZB (ORCPT ); Fri, 27 Mar 2015 03:25:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:47979 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751578AbbC0HZA (ORCPT ); Fri, 27 Mar 2015 03:25:00 -0400 Date: Fri, 27 Mar 2015 00:24:57 -0700 From: Stephen Boyd To: Max Filippov Cc: Krzysztof Kozlowski , Mike Turquette , LKML Subject: Re: [RESEND PATCH 1/3] clk: si5351: Constify clock names and struct regmap_config Message-ID: <20150327072457.GC18059@codeaurora.org> References: <1426851252-24815-1-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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