lkml.org 
[lkml]   [2024]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 6/9] iio: adc: ad7173: Add ad7173_device_info names
On Tue, May 14, 2024 at 2:23 AM Dumitru Ceclan via B4 Relay
<devnull+dumitru.ceclan.analog.com@kernel.org> wrote:
>
> 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.
>

This affects userspace, right? So probably needs a Fixes: to make sure
this gets into the 6.10 release?

> 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 1e9ba3070770..d965b66d4d5a 100644
> --- a/drivers/iio/adc/ad7173.c
> +++ b/drivers/iio/adc/ad7173.c
> @@ -227,6 +227,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,
> @@ -272,6 +273,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,
> @@ -302,6 +304,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
>
>

\
 
 \ /
  Last update: 2024-05-27 18:29    [W:0.130 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site