iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Jan 2016 17:49:22 +0000 (17:49 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sat, 23 Jan 2016 16:30:57 +0000 (16:30 +0000)
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>
drivers/iio/adc/axp288_adc.c

index 0c904edd6c004c00581ca6651ef65aa0c982e9cc..7fd24949c0c14fb53cb3d6f37a8d1d6afa1c0f0e 100644 (file)
@@ -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,