From: Dumitru Ceclan via B4 Relay <devnull+dumitru.ceclan.analog.com@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
Jonathan Cameron <jic23@kernel.org>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Dumitru Ceclan <mitrutzceclan@gmail.com>,
Dumitru Ceclan <dumitru.ceclan@analog.com>
Subject: [PATCH v3 2/5] iio: adc: ad7173: Add ad7173_device_info names
Date: Thu, 30 May 2024 15:07:50 +0300 [thread overview]
Message-ID: <20240530-ad7173-fixes-v3-2-b85f33079e18@analog.com> (raw)
In-Reply-To: <20240530-ad7173-fixes-v3-0-b85f33079e18@analog.com>
From: Dumitru Ceclan <dumitru.ceclan@analog.com>
Add missing names from the device info struct for 3 models to ensure
consistency with the rest of the models.
Fixes: 8eb903272f75 ("iio: adc: ad7173: add AD7173 driver")
Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
---
drivers/iio/adc/ad7173.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c
index 850574437bda..58620be41ef5 100644
--- a/drivers/iio/adc/ad7173.c
+++ b/drivers/iio/adc/ad7173.c
@@ -220,6 +220,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
.num_sinc5_data_rates = ARRAY_SIZE(ad7173_sinc5_data_rates),
},
[ID_AD7172_4] = {
+ .name = "ad7172-4",
.id = AD7172_4_ID,
.num_inputs = 9,
.num_channels = 8,
@@ -262,6 +263,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
.num_sinc5_data_rates = ARRAY_SIZE(ad7175_sinc5_data_rates),
},
[ID_AD7175_8] = {
+ .name = "ad7175-8",
.id = AD7175_8_ID,
.num_inputs = 17,
.num_channels = 16,
@@ -290,6 +292,7 @@ static const struct ad7173_device_info ad7173_device_info[] = {
.num_sinc5_data_rates = ARRAY_SIZE(ad7175_sinc5_data_rates),
},
[ID_AD7177_2] = {
+ .name = "ad7177-2",
.id = AD7177_ID,
.num_inputs = 5,
.num_channels = 4,
--
2.43.0
next prev parent reply other threads:[~2024-05-30 12:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-30 12:07 [PATCH v3 0/5] AD7173 fixes Dumitru Ceclan via B4 Relay
2024-05-30 12:07 ` [PATCH v3 1/5] iio: adc: ad7173: fix buffers enablement for ad7176-2 Dumitru Ceclan via B4 Relay
2024-06-02 12:19 ` Jonathan Cameron
2024-05-30 12:07 ` Dumitru Ceclan via B4 Relay [this message]
2024-05-30 12:07 ` [PATCH v3 3/5] iio: adc: ad7173: Remove index from temp channel Dumitru Ceclan via B4 Relay
2024-05-30 12:07 ` [PATCH v3 4/5] iio: adc: ad7173: Clear append status bit Dumitru Ceclan via B4 Relay
2024-06-02 12:21 ` Jonathan Cameron
2024-05-30 12:07 ` [PATCH v3 5/5] iio: adc: ad7173: Fix sampling frequency setting Dumitru Ceclan via B4 Relay
2024-06-02 12:22 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240530-ad7173-fixes-v3-2-b85f33079e18@analog.com \
--to=devnull+dumitru.ceclan.analog.com@kernel.org \
--cc=dumitru.ceclan@analog.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mitrutzceclan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox