projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
244a93f
)
iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels
author
Colin Ian King
<colin.king@canonical.com>
Fri, 22 Jan 2016 17:49:22 +0000
(17:49 +0000)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/adc/axp288_adc.c
b/drivers/iio/adc/axp288_adc.c
index
0c904ed
..
7fd2494
100644
(file)
--- 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,