diff options
author | Stephen Boyd <swboyd@chromium.org> | 2020-08-04 02:58:13 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 21:40:43 +0300 |
commit | 2756db5e90ac4b881d5926bdeef75e84a128aa8d (patch) | |
tree | fa82a84e3614a615c6e9fc0ead4ea205f35a246b /drivers/iio/proximity | |
parent | de479073fa1eb7031b4f85429102e002521a0a95 (diff) | |
download | linux-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.c | 1 |
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; }; |