Skip to content

Commit 3450ee7

Browse files
dumitruceclanjic23
authored andcommitted
iio: adc: ad7173: Add ad7173_device_info names
Add missing names from the device info struct for 3 models to ensure consistency with the rest of the models. Fixes: 76a1e6a ("iio: adc: ad7173: add AD7173 driver") Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com> Link: https://lore.kernel.org/r/20240521-ad7173-fixes-v1-2-8161cc7f3ad1@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent ab6f0ab commit 3450ee7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/iio/adc/ad7173.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
220220
.num_sinc5_data_rates = ARRAY_SIZE(ad7173_sinc5_data_rates),
221221
},
222222
[ID_AD7172_4] = {
223+
.name = "ad7172-4",
223224
.id = AD7172_4_ID,
224225
.num_inputs = 9,
225226
.num_channels = 8,
@@ -262,6 +263,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
262263
.num_sinc5_data_rates = ARRAY_SIZE(ad7175_sinc5_data_rates),
263264
},
264265
[ID_AD7175_8] = {
266+
.name = "ad7175-8",
265267
.id = AD7175_8_ID,
266268
.num_inputs = 17,
267269
.num_channels = 16,
@@ -290,6 +292,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
290292
.num_sinc5_data_rates = ARRAY_SIZE(ad7175_sinc5_data_rates),
291293
},
292294
[ID_AD7177_2] = {
295+
.name = "ad7177-2",
293296
.id = AD7177_ID,
294297
.num_inputs = 5,
295298
.num_channels = 4,

0 commit comments

Comments
 (0)