Skip to content

Commit

Permalink
iio: adc: axp288: remove redundant duplicate const on axp288_adc_chan…
Browse files Browse the repository at this point in the history
…nels

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

Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
  • Loading branch information
Colin Ian King authored and jic23 committed Jan 23, 2016
1 parent 244a93f commit 7ca6574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iio/adc/axp288_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7ca6574

Please sign in to comment.