summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Stephan <jstephan@baylibre.com>2024-07-31 09:05:44 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-03 12:33:34 +0200
commit65c89a5ac67b6551025bdea4574768db4579b979 (patch)
treeaef9d3a01d7a0f999d41fa7ffcf633b7c5113735
parentiio: core: add function to retrieve active_scan_mask index (diff)
downloadlinux-65c89a5ac67b6551025bdea4574768db4579b979.tar.xz
linux-65c89a5ac67b6551025bdea4574768db4579b979.zip
iio: adc: ad7380: add missing trailing commas
Add missing trailing commas in iio_scan_type structures Signed-off-by: Julien Stephan <jstephan@baylibre.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Link: https://patch.msgid.link/20240731-ad7380-add-single-ended-chips-v2-3-cd63bf05744c@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/adc/ad7380.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/adc/ad7380.c b/drivers/iio/adc/ad7380.c
index 7568cd0a2b32..72fece383f72 100644
--- a/drivers/iio/adc/ad7380.c
+++ b/drivers/iio/adc/ad7380.c
@@ -97,13 +97,13 @@ static const struct iio_scan_type ad7380_scan_type_14[] = {
.sign = 's',
.realbits = 14,
.storagebits = 16,
- .endianness = IIO_CPU
+ .endianness = IIO_CPU,
},
[AD7380_SCAN_TYPE_RESOLUTION_BOOST] = {
.sign = 's',
.realbits = 16,
.storagebits = 16,
- .endianness = IIO_CPU
+ .endianness = IIO_CPU,
},
};
@@ -113,13 +113,13 @@ static const struct iio_scan_type ad7380_scan_type_16[] = {
.sign = 's',
.realbits = 16,
.storagebits = 16,
- .endianness = IIO_CPU
+ .endianness = IIO_CPU,
},
[AD7380_SCAN_TYPE_RESOLUTION_BOOST] = {
.sign = 's',
.realbits = 18,
.storagebits = 32,
- .endianness = IIO_CPU
+ .endianness = IIO_CPU,
},
};