From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753362AbbC3JEA (ORCPT ); Mon, 30 Mar 2015 05:04:00 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:37619 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752967AbbC3JD7 (ORCPT ); Mon, 30 Mar 2015 05:03:59 -0400 Date: Mon, 30 Mar 2015 10:03:39 +0100 From: Lee Jones To: Krzysztof Kozlowski , Joe Perches Cc: Samuel Ortiz , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mfd: axp20x: Fix duplicate const for model names Message-ID: <20150330090339.GU457@x1> References: <1427192477-21843-1-git-send-email-k.kozlowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1427192477-21843-1-git-send-email-k.kozlowski@samsung.com> 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 Tue, 24 Mar 2015, Krzysztof Kozlowski wrote: > Replace duplicated const keyword for 'axp20x_model_names' with proper > array of const pointers to const strings. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/mfd/axp20x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied thanks. Joe, Can I apply your Ack? > diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c > index 0acbe52b2411..1386826f713d 100644 > --- a/drivers/mfd/axp20x.c > +++ b/drivers/mfd/axp20x.c > @@ -29,7 +29,7 @@ > > #define AXP20X_OFF 0x80 > > -static const char const *axp20x_model_names[] = { > +static const char * const axp20x_model_names[] = { > "AXP202", > "AXP209", > "AXP288", -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog