2020-08-03 23:43:03

by Daniel Campello

[permalink] [raw]
Subject: [PATCH v4 13/15] iio: sx9310: Drop channel_users[]

From: Stephen Boyd <[email protected]>

This struct member isn't used. Drop it.

Fixes: 72ad02b15d63 ("iio: Add SEMTECH SX9310/9311 sensor driver")
Signed-off-by: Stephen Boyd <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Daniel Campello <[email protected]>
Signed-off-by: Daniel Campello <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
---

Changes in v4: None
Changes in v3: None
Changes in v2: None

drivers/iio/proximity/sx9310.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/iio/proximity/sx9310.c b/drivers/iio/proximity/sx9310.c
index 6395f61b720658..2e0ea84dba2118 100644
--- a/drivers/iio/proximity/sx9310.c
+++ b/drivers/iio/proximity/sx9310.c
@@ -135,7 +135,6 @@ struct sx9310_data {
struct completion completion;
unsigned long chan_read;
unsigned long chan_event;
- int channel_users[SX9310_NUM_CHANNELS];
unsigned int whoami;
};

--
2.28.0.163.g6104cc2f0b6-goog