summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-09-25 14:41:05 +0300
committerJonathan Cameron <jic23@kernel.org>2016-09-27 23:08:46 +0300
commit7fd1accc9fc46c27687f2ea767d84c146790ef1c (patch)
tree2ba9b598b2537923ce593af28e0d386d9f1fb947 /drivers
parent69c72ec9c80bbd206c6fac73874d73e69cc623b4 (diff)
downloadlinux-7fd1accc9fc46c27687f2ea767d84c146790ef1c.tar.xz
staging: iio: isl29018: remove unused variable and defines
Removes unused variable and associated #defines that was found using make W=1. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/iio/light/isl29018.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c
index a767a43c995c..2a055d6c32ba 100644
--- a/drivers/staging/iio/light/isl29018.c
+++ b/drivers/staging/iio/light/isl29018.c
@@ -62,16 +62,6 @@
#define ISL29035_BOUT_SHIFT 0x07
#define ISL29035_BOUT_MASK (0x01 << ISL29035_BOUT_SHIFT)
-#define ISL29018_INT_TIME_AVAIL "0.090000 0.005630 0.000351 0.000021"
-#define ISL29023_INT_TIME_AVAIL "0.090000 0.005600 0.000352 0.000022"
-#define ISL29035_INT_TIME_AVAIL "0.105000 0.006500 0.000410 0.000025"
-
-static const char * const int_time_avail[] = {
- ISL29018_INT_TIME_AVAIL,
- ISL29023_INT_TIME_AVAIL,
- ISL29035_INT_TIME_AVAIL,
-};
-
enum isl29018_int_time {
ISL29018_INT_TIME_16,
ISL29018_INT_TIME_12,