Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp395975lqo; Thu, 16 May 2024 09:13:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2gpfD6UxKuFXFdN9+UpK56DK2FgURGP0tYgGwB/T0nFbpNlgEHN+YhC6njZlqntc5NKu8w8fr+LZRgPPbEdwiwN9Tyu7Y+Gb1FIPJvQ== X-Google-Smtp-Source: AGHT+IHSKm3bmIDRnvY0/8G0OdNjb7/Z7Y+7rd5OWzvDm7ac50r5k/yNeuCwfztUw7+p6sYP3L/F X-Received: by 2002:a05:6a20:8423:b0:1af:cc84:f7ea with SMTP id adf61e73a8af0-1afde09f3fcmr22157857637.8.1715875996459; Thu, 16 May 2024 09:13:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715875996; cv=pass; d=google.com; s=arc-20160816; b=yA5f3oPh+aEbo5X766KMtx5PlgXxj58s0PvdNwfr8sOSYjE3oLmlWrGidQDXLOOOxO k8DDwxjQo7zOaPnA+JmHmwSKVk1iVn6O5UUApf0wGZ0xef4iMXqNcbvchsffPmzoZAwX s8tHHDz3enwrxGqHM99fwImkp+Fw0jjCuTa9Fh68pl4qabn4WO+v1bt8XgBec/47YyFw jHy9SX2RpmtIjVO8C+FN+4ez9FYXa0VP376IX/gHl+J5Bug9ynhFdd+7DnHbnQmgKbkO OLFMtWVYyj3LnbGAgXJpNsyypdxMgCQJ0pHaazjzueiuLBvmXsZjU0P1kof30uDY55BJ m/Wg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=GPp5T1JPGHPpYJQbls80ItD5pnxytYOAxOPDKu3Bv/c=; fh=DDH1fXbmxIyIxfpOCwIWjKhF4h4RuFArHjbsZSi7zAw=; b=US8hF6SRCY7sRGAENIKn+mKZMWVUesLArBdoDJcjMDknXJ2kksgM/0SRj5sYg2t1Ab uBscaKrjlKyHPIFjDoq37syF3wsijjibCyEhq4Z24+Ukodsk4SadmYL0QL6+RK92kvQx 29+sjAu/hNJB1vzxgkrhd2oXJN5AbXqD8ijKrTPbbtNN9egnieH+0vAyq9Z2/vDpo0ul L6ExQso9Q/ekX/gl+bvX/6V6IqI+rA+CJqhmkgj4Vt2fhakiUL0uI04AmKAf3erpBNTR DvsukEkh2B/bnbp8kbh/dJd8paNGxjhHfufCQmDSoHL5ngEt7kJKHTMItWK3P7ZCVKOn pcTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bRICpor3; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-65927ddb6d6si1935134a12.463.2024.05.16.09.13.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 09:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=bRICpor3; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-181296-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181296-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 99695B233BD for ; Thu, 16 May 2024 16:09:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77E7814D6FB; Thu, 16 May 2024 16:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bRICpor3" Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E65614D439; Thu, 16 May 2024 16:09:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715875777; cv=none; b=GhF6jZNpQlJnWZxt8I/91/PUMX3XtLQPUr2zmvVxgm+/kVUWCRl6YHDuSkfjzn36ixl43nK+m5ELrKbrL0wT/5OQlJgDAZKUVQp42jPnbUeov+a+DA+sWXHXDyseFWDGa5VW/i09CsZkn0nNmFiJNs7SvHofG0EBIeQVi/9Cq3w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715875777; c=relaxed/simple; bh=+glydexQE7fiHXjBOHgMNecwr0JDs2Rg9OOMZ/GodlQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VY8MfYQ7FyKBgmryzOQPg4ideLvoEGq9eDc9jA0nZF5IT6psB8KkzS2T60182Ett8/ThFQ3dif0hOsPCLXkdB41zNRRS+JIg/4Raec4gOnCayA58NLO/zHUGI2oNbMT0Qg1S/XxcNS0QO3vggZbYnGaJodKh4hc5MrdD6fKx9e8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bRICpor3; arc=none smtp.client-ip=209.85.222.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-792b8bca915so794025985a.2; Thu, 16 May 2024 09:09:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715875775; x=1716480575; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GPp5T1JPGHPpYJQbls80ItD5pnxytYOAxOPDKu3Bv/c=; b=bRICpor3cpJ3FJj2D30/0Hf+22RgOKmYEvHntnigzy7jWedLPl0rqT/UePU/iXNNiA sZTQjOxBxDm0+QpFuhRUl4YJWGqov01ch4qwBpFmODTUjcnI+brcpfsqHig10XRvPvaf PDtETvdrdoaB2Re4bzPhv05Ze0rbXfTT3HJdh1J8gwwspFGDCaVlQtWi4NeeWlttYRAh SBjKL68URWx5gHSsPVrmZ1hApj/u7h4KDTzum54f5BvAm5ERk/hRMTMGDYEEt1Xo4wA6 qGQARyXoDq1/thyN7qq0FnqS8lcaflvObtA8zOyUvq5fzeQFcOv3Nd2KRwjRAdzh6dcd QqEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715875775; x=1716480575; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GPp5T1JPGHPpYJQbls80ItD5pnxytYOAxOPDKu3Bv/c=; b=hMPFxdLXC3iJCIPvLUBF9G6cloiDU9z8G2nX79sk9/DC+gw1oUci9AZm+FVk3aS/34 SK5Dn2F152G4aikbtH1qcEUyphQXuwdn240E2Hqvda/cdjliiBLowGQTixHuN20QfvAX yxe0tJy5R2i/WIDt0keG2zf6UKMrtfsNGaUSElenjtWxH3gZjhfjovXsZHbmisL8uwCu bPuOVG8ovAysi/3Oe0QVtaNH+z9NWm878btpNJjlvz7Y+UvliyrQ0r1Pz7YOXm5OdVQi EMMkEwxepAHCmODAUiHMYy5qIa+XhECWlJUNkXAO2MhAwYvoc443mIVmHEFmdvUAFpPA 3upQ== X-Forwarded-Encrypted: i=1; AJvYcCXoCapotEBO20hgeMRv8zSgTq7/8Dlkov4yrFpWpw2t3kf2RpCFv++7jsLAH6QaolTZSAAJxOqfOu40OIk4VubpUVSOwo7kPuWm0j+Hf8STVSjaXtxPb3BAjNQuj4hzUiJdwFNVOaz01eunDkrVzQVvWec4MsCvY+smOb7DqvQLiX307A== X-Gm-Message-State: AOJu0YyeQk0s17CFTY3SHlQLm7TCd/9Cn5feobnNdVOs+qrLYw73Fu4V mURAirdjJTgTqNjEZlI1fkSUarNOMY7ApK7P8asm6e9IGOYh2l5K X-Received: by 2002:a05:6214:5c42:b0:6a0:7cef:9883 with SMTP id 6a1803df08f44-6a168152c8emr231301216d6.14.1715875775019; Thu, 16 May 2024 09:09:35 -0700 (PDT) Received: from [192.168.0.137] ([188.24.105.36]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6a3e849f8e9sm1253326d6.33.2024.05.16.09.09.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 May 2024 09:09:34 -0700 (PDT) Message-ID: <167516cf-303b-48a5-ab84-173cea8e82f2@gmail.com> Date: Thu, 16 May 2024 19:09:31 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/9] iio: adc: ad7173: Add ad7173_device_info names To: David Lechner , dumitru.ceclan@analog.com Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240514-ad4111-v2-0-29be6a55efb5@analog.com> <20240514-ad4111-v2-6-29be6a55efb5@analog.com> Content-Language: en-US From: "Ceclan, Dumitru" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 16/05/2024 02:32, David Lechner wrote: > On Tue, May 14, 2024 at 2:23 AM Dumitru Ceclan via B4 Relay > wrote: >> >> From: Dumitru Ceclan >> >> 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? > I don't think that it breaks userspace, just creates an additional file. This creates the file "name" in the iio:deviceX directory that reads the string. I do not consider the Fixes: tag a necessity. I consider that it resolves inconsistencies in the _device_info struct. >> Signed-off-by: Dumitru Ceclan >> --- >> 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 >> >>