[PATCH] iio: dac: ti-dac5571: remove unused id field

Antoniu Miclaus posted 1 patch 1 week, 1 day ago
drivers/iio/dac/ti-dac5571.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] iio: dac: ti-dac5571: remove unused id field
Posted by Antoniu Miclaus 1 week, 1 day ago
Remove unused id field from dac5571_data struct.
The field is declared but never accessed in the driver.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
 drivers/iio/dac/ti-dac5571.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c
index bdc3f94aef98..455d61fc3f13 100644
--- a/drivers/iio/dac/ti-dac5571.c
+++ b/drivers/iio/dac/ti-dac5571.c
@@ -45,7 +45,6 @@ static const struct dac5571_spec dac5571_spec[] = {
 
 struct dac5571_data {
 	struct i2c_client *client;
-	int id;
 	struct mutex lock;
 	struct regulator *vref;
 	u16 val[4];
-- 
2.43.0