projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/iio/adc/axp288_adc.c
b/drivers/iio/adc/axp288_adc.c
index 0c904edd6c004c00581ca6651ef65aa0c982e9cc..7fd24949c0c14fb53cb3d6f37a8d1d6afa1c0f0e 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,