Return-Path: Received: from mail-cys01nam02on0121.outbound.protection.outlook.com ([104.47.37.121]:11554 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032571AbeCAPim (ORCPT ); Thu, 1 Mar 2018 10:38:42 -0500 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Colin Ian King , Jonathan Cameron , Sasha Levin Subject: [added to the 4.1 stable tree] iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels Date: Thu, 1 Mar 2018 15:27:32 +0000 Message-ID: <20180301152116.1486-473-alexander.levin@microsoft.com> References: <20180301152116.1486-1-alexander.levin@microsoft.com> In-Reply-To: <20180301152116.1486-1-alexander.levin@microsoft.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: From: Colin Ian King This patch has been added to the 4.1 stable tree. If you have any objections, please let us know. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [ Upstream commit 7ca6574a7afb669b0b4b30dd63adeb310e97e250 ] 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: Sasha Levin --- drivers/iio/adc/axp288_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/axp288_adc.c b/drivers/iio/adc/axp288_adc.c index 1c626a3cc7f2..f3a64a45c512 100644 --- 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; }; =20 -static const struct iio_chan_spec const axp288_adc_channels[] =3D { +static const struct iio_chan_spec axp288_adc_channels[] =3D { { .indexed =3D 1, .type =3D IIO_TEMP, --=20 2.14.1