Received: by 10.223.185.116 with SMTP id b49csp1126578wrg; Fri, 23 Feb 2018 12:23:38 -0800 (PST) X-Google-Smtp-Source: AH8x227smxTnYdEJMQqzRm7LpIndI8afCuzpqWRpVd03vcIsNZQbBDLuIS5qk7GYfrfyUWELsC6S X-Received: by 2002:a17:902:654a:: with SMTP id d10-v6mr2737639pln.117.1519417418383; Fri, 23 Feb 2018 12:23:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417418; cv=none; d=google.com; s=arc-20160816; b=uTd6KuLGI7u7yEkuJobPyPOAKiPG7VAr9Lc+4vBzKvcH1YTg+3usXd90ZgEO4WWcN6 JqInSFIoEAoJ80NS5JcL8mG6RQIBAREi4/PH3nV5detGtSuUOl+17QxwCGDPdaaXpND7 3gzdz2A9LJUvgks+xZGpowWI0z1oNNtslmx3nItpEg6g9PTSY8H/spHNfOSz8te5tvk7 UhabO65TLsltxqsa4BxZFfyZjk7dZ4bbKQZlagekC5MtSxK/eRQ14Qf/oitfbvSkgCgm VSgbLKJ2MRDwHTiKpU7AccKeLVUGg4m+210//0tIAbkRhFrHIPqusgfzbkQdQFRXqf1g vP6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=aA5fD2niqzAQj9n0F2WL9Y4jqZZD/Q2JsQqWLpXW+as=; b=tmcTCIc0WuyeAbX6TIBMMa3DEqN1l1MOFY+UZ9gR9ttRA3GN3HNoaspnKABtd6G818 HrGLvkfRQr4/sbwAm49AwusfQZKKrlUYpfc+VGqQCHsZmQJF8kHCcOiUXOd5AAoOUbbd N5I3lZTwRZsuT+CdbcfOZAxjUggQnDMTd3ttq1aJ6KiI8THryMPrrKXyVYeYP+gvOHvH dC45TRSLC27rRqeB6zD4fNOiHQI/+ablefVHndeny2WddRKXXeAyajSW7ut/YmQORa+b d3zNbNaF+FVDkP5HxWQXEz8Oxc/42WSOGPUpwUlrwGA5ODTgFHVOk0tFSBZ+pzvAQ0pV YCIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a34-v6si2279783pld.505.2018.02.23.12.23.24; Fri, 23 Feb 2018 12:23:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932395AbeBWSic (ORCPT + 99 others); Fri, 23 Feb 2018 13:38:32 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:39214 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932314AbeBWSi3 (ORCPT ); Fri, 23 Feb 2018 13:38:29 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 4970B10AC; Fri, 23 Feb 2018 18:38:27 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Colin Ian King , Jonathan Cameron Subject: [PATCH 4.4 125/193] iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels Date: Fri, 23 Feb 2018 19:25:58 +0100 Message-Id: <20180223170345.413910898@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Colin Ian King commit 7ca6574a7afb669b0b4b30dd63adeb310e97e250 upstream. duplicate const can be removed, it is redundant. Found by static analysis using smatch. Signed-off-by: Colin Ian King Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/adc/axp288_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/iio/adc/axp288_adc.c +++ b/drivers/iio/adc/axp288_adc.c @@ -44,7 +44,7 @@ struct axp288_adc_info { struct regmap *regmap; }; -static const struct iio_chan_spec const axp288_adc_channels[] = { +static const struct iio_chan_spec axp288_adc_channels[] = { { .indexed = 1, .type = IIO_TEMP,