diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-05-29 17:00:55 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-04 19:53:07 +0100 |
commit | 9be46ec5606e6e1aa4b9c6086762ed82f34ceaae (patch) | |
tree | e7f0df399d7be98796cf377c969c79ad875494d4 /drivers/staging/iio | |
parent | e2261b4a4de2804698935eb44f98dc897e1c44c3 (diff) | |
download | lwn-9be46ec5606e6e1aa4b9c6086762ed82f34ceaae.tar.gz lwn-9be46ec5606e6e1aa4b9c6086762ed82f34ceaae.zip |
staging: iio: adt7316: remove unused struct 'adt7316_limit_regs'
'adt7316_limit_regs' has never been used since the original
commit 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9
driver").
The comment above it is a copy-and-paste from a different struct.
Remove both the struct and the comment.
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20240529160055.28489-1-linux@treblig.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r-- | drivers/staging/iio/addac/adt7316.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 79467f056a05..f4260786d50a 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -209,15 +209,6 @@ struct adt7316_chip_info { #define ADT7316_TEMP_AIN_INT_MASK \ (ADT7316_TEMP_INT_MASK) -/* - * struct adt7316_chip_info - chip specific information - */ - -struct adt7316_limit_regs { - u16 data_high; - u16 data_low; -}; - static ssize_t adt7316_show_enabled(struct device *dev, struct device_attribute *attr, char *buf) |