Skip to contentSkip to conversation

Patch "iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 23, 2018

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iio-adc-axp288-remove-redundant-duplicate-const-on-axp288_adc_channels.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 7ca6574a7afb669b0b4b30dd63adeb310e97e250 Mon Sep 17 00:00:00 2001

From: Colin Ian King <[email protected]>
Date: Fri, 22 Jan 2016 17:49:22 +0000
Subject: iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels

From: Colin Ian King <[email protected]>

commit 7ca6574a7afb669b0b4b30dd63adeb310e97e250 upstream.

duplicate const can be removed, it is redundant. Found by static analysis using smatch.

---
 drivers/iio/adc/axp288_adc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/adc/axp288_adc.c +1 -1
@@ -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,

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/tc1100-wmi-fix-build-warning-when-config_pm-not-enabled.patch queue-4.4/iio-adc-axp288-remove-redundant-duplicate-const-on-axp288_adc_channels.patch queue-4.4/x86-spectre-fix-spelling-mistake-vunerable-vulnerable.patch