]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: dac: ti-dac5571: remove unused id field
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 2 Feb 2026 11:25:59 +0000 (13:25 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:02 +0000 (21:20 +0000)
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>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ti-dac5571.c

index bdc3f94aef98dea64341996430c3dbfaf56a3abf..455d61fc3f1352e6ed5ae4ae1962056e37b14764 100644 (file)
@@ -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];