summaryrefslogtreecommitdiff
path: root/drivers/iio/proximity
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2020-08-04 02:58:13 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-03 21:40:43 +0300
commit2756db5e90ac4b881d5926bdeef75e84a128aa8d (patch)
treefa82a84e3614a615c6e9fc0ead4ea205f35a246b /drivers/iio/proximity
parentde479073fa1eb7031b4f85429102e002521a0a95 (diff)
downloadlinux-2756db5e90ac4b881d5926bdeef75e84a128aa8d.tar.xz
iio: sx9310: Drop channel_users[]
This struct member isn't used. Drop it. Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310/9311 sensor driver") Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Daniel Campello <campello@chromium.org> Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/proximity')
-rw-r--r--drivers/iio/proximity/sx9310.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c
index 51974477cd4d..6697299ce665 100644
--- a/drivers/iio/proximity/sx9310.c
+++ b/drivers/iio/proximity/sx9310.c
@@ -136,7 +136,6 @@ struct sx9310_data {
struct completion completion;
unsigned long chan_read;
unsigned long chan_event;
- int channel_users[SX9310_NUM_CHANNELS];
unsigned int whoami;
};