summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-23 01:04:56 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-04 20:53:06 +0200
commit64741cb5acfb8a1cf1c4a61ec0d8cd1310ceca90 (patch)
tree91a97c892ad8f9b8df36d8dc5ba47a4fb55399f9 /drivers/iio/adc
parentiio: accel: bmi088: remove unused struct 'bmi088_scale_info' (diff)
downloadlinux-64741cb5acfb8a1cf1c4a61ec0d8cd1310ceca90.tar.xz
linux-64741cb5acfb8a1cf1c4a61ec0d8cd1310ceca90.zip
iio: adc: pac1934: remove unused struct 'samp_rate_mapping'
'samp_rate_mapping' has been unused since the original commit 0fb528c8255b ("iio: adc: adding support for PAC193x"). Remove it. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Link: https://lore.kernel.org/r/20240522230457.478156-3-linux@treblig.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/pac1934.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/iio/adc/pac1934.c b/drivers/iio/adc/pac1934.c
index 456f12faa348..ae24a27805ab 100644
--- a/drivers/iio/adc/pac1934.c
+++ b/drivers/iio/adc/pac1934.c
@@ -227,11 +227,6 @@ struct pac1934_features {
const char *name;
};
-struct samp_rate_mapping {
- u16 samp_rate;
- u8 shift2value;
-};
-
static const unsigned int samp_rate_map_tbl[] = {
[PAC1934_SAMP_1024SPS] = 1024,
[PAC1934_SAMP_256SPS] = 256,