diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-01-22 17:49:22 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-01-23 16:30:57 +0000 |
commit | 7ca6574a7afb669b0b4b30dd63adeb310e97e250 (patch) | |
tree | bf7e455da2bd1e19dca1c496ce665e8ef35c97c6 | |
parent | 244a93f651937a7f587f8ddf3d8c09516cacf5bd (diff) |
iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels
duplicate const can be removed, it is redundant. Found by static
analysis using smatch.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/iio/adc/axp288_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/axp288_adc.c b/drivers/iio/adc/axp288_adc.c index 0c904edd6c00..7fd24949c0c1 100644 --- a/drivers/iio/adc/axp288_adc.c +++ b/drivers/iio/adc/axp288_adc.c @@ -46,7 +46,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, |