Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2038773lqo; Sun, 19 May 2024 10:09:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCkuTKI3yGzFE2mKUlbMq9jUCgNWcPBb6PKhGVkuTRS1ZnU7i+AD6znQQ7U/TgnG9t5Ytp/4APbArnssg7HrhMRz9gidHKe9Lj6YSOiw== X-Google-Smtp-Source: AGHT+IEnf3/xcPvcUSousvC3+42XmfgVLsDDBpeyofuHXneN0Kz9JtnlqKa8ri+AuYP2iRNxNrnZ X-Received: by 2002:a05:6512:3b86:b0:518:a55b:b612 with SMTP id 2adb3069b0e04-52210579225mr22984905e87.54.1716138551211; Sun, 19 May 2024 10:09:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716138551; cv=pass; d=google.com; s=arc-20160816; b=wBugYwYH7zR8H/RGCcMAMdR7k+IYzSE9iugEnh0HEy0mIsbFxueK2xHYv7sB/fbt55 8AlBywYShkvQepGEXaSfJ7XsxZ+B+UkklGPjl7LYX2yGQZm+2Y9y21aIbwnNgdS1H2sJ G0JiXw4VvZslTJVYEKGtbdHph9vLOn7OV/D1OxZs5R6gEhNAPgqcyGhYa744upN1iObZ pzrMRQ90MTgsotBeEekBq1t0xzm+ezxG3XPF/u+0LSehLueO60We3gKAvrsIFrZuDLpP F7yYWCZlIoIWkqPf2qPeWZoYBEiLA/qpTDwEhiL+oPtIpowWZGo6mCdSh7/RYzDpEb6+ y7Zw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=4puUz8J24XxrH+Oqo7KQBBeBaGvy4c+9JuQXgrltk5M=; fh=EFsA6h4L/948NA/eInGs3V3Qa2xJ7smFtYQR+yp9gqU=; b=Ubt8tG0Hg0GRrq30f8P1XPqjnOqPC2X3F7W7cF6FboIuDTMV+ONajbu9GlUaIFBBXz WgjyrS3hoqq2ZmtWDSx65jIQW4wXbgKHMeAJm/Q+cL8Xr3CAggevFERBEESvILnpLGri IAIdMle7UTvPgbLLOPQgWNaBqsQRqhSdOP8nVNFnQXTQ5OYPOTScUAt0g4EkUyyt0FPn rWYohZSGXWFTJt0I4PYeXK045ocAUygQYcggV/+4sYQ78+u1dD9nSDQcD/ki39IyUhS4 qzj3gGzWpcefRDOZnonOZYVtUf5HquWbZWlfLAw1RoEDetMB2xFuBYBaHEUqJNJJJry+ R7Yg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zsc91cou; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183165-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17ba37fesi1223398266b.523.2024.05.19.10.09.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 May 2024 10:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zsc91cou; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-183165-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183165-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D70871F21D4C for ; Sun, 19 May 2024 17:09:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 808604E1CE; Sun, 19 May 2024 17:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Zsc91cou" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 992F54D59B; Sun, 19 May 2024 17:09:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716138542; cv=none; b=c+CCWIk3eU8kDM0aRgWbguZya4e/NLuvV5Ij+IcIiu/yKJbj9PzQh+GNB4ZjvTdLOIO9LZPckIonbi41RclfRrnUyr8278OD9GlVSAsbRalbWdbpNv5nGR5eFk47LqI9QyWODWyhRvM8BRUQuvdVmdEYfaENIE9OcideQzoYoyQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716138542; c=relaxed/simple; bh=lEMXpprkSCoVGZB8PN5bp+4R/KVLH9QiI/3kMDX7fig=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=NM4K3IRbwhsAYdmyOF0wNXoPzsCMtjmt0GNvRCXBzb5joz7UQduJJEyAvanVoyqOq8sNG5lCO3ZRF0oAkVJ7OR2IpEIO5ObdkMQG+cksT6NAJXZdjDJEameD8jyuGdZWtxSGndQQHisKKzxDcXVuppVt+wlP8pyj4R/9FTdN/v0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Zsc91cou; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 950ADC32781; Sun, 19 May 2024 17:08:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716138542; bh=lEMXpprkSCoVGZB8PN5bp+4R/KVLH9QiI/3kMDX7fig=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Zsc91couCj6lG0MQV8VLtQ97HqCB3vv9KfkeKBnPfCx+IG/k7hdmoo2bCBv2zG+Cg jfOtBJXF/9+25ji0YQ9mnSOJC0n33uPRlbyJ+hfskKpwtwO5107StPrx8qREDVRPup O+hAZjI3RP0DabQZajaTr577SWhblBiRQwjn8a+9mbWEgoX9/kw3jaq0SjruTMfCiv 2JFxM1R+SnNHMcK2hC5Ieq4lJZR0Au442B27aSesP/vxu9uBLLYOnoWT/cd9K+n6pF B//biMw2wBCI6JSbygS2WRJgOjIxZ2BhgEHUM8+T5IuToTwEFrLgRBYjhR+RCE4y9x Y5ZxI/+I7qjFw== Date: Sun, 19 May 2024 18:08:51 +0100 From: Jonathan Cameron To: David Lechner Cc: dumitru.ceclan@analog.com, Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan Subject: Re: [PATCH v2 7/9] iio: adc: ad7173: Remove index from temp channel Message-ID: <20240519180851.43729fa9@jic23-huawei> In-Reply-To: References: <20240514-ad4111-v2-0-29be6a55efb5@analog.com> <20240514-ad4111-v2-7-29be6a55efb5@analog.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 15 May 2024 18:34:17 -0500 David Lechner wrote: > On Tue, May 14, 2024 at 2:23=E2=80=AFAM Dumitru Ceclan via B4 Relay > wrote: > > > > From: Dumitru Ceclan > > > > Temperature channel is unique per device, index is not needed. > > > > This is breaking userspace: as main driver has not reached mainline yet > > it won't affect users as there are none. =20 >=20 > But it is queued up, so probably need a Fixes: here to make sure it > makes it into the release. Yes. We can fix this but it will need to go as a fix during the rc cycles rather than wait for the next merge window like the rest of this series. Jonathan >=20 > > > > Signed-off-by: Dumitru Ceclan > > --- > > drivers/iio/adc/ad7173.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/iio/adc/ad7173.c b/drivers/iio/adc/ad7173.c > > index d965b66d4d5a..d66b47e1a186 100644 > > --- a/drivers/iio/adc/ad7173.c > > +++ b/drivers/iio/adc/ad7173.c > > @@ -828,7 +828,6 @@ static const struct iio_chan_spec ad7173_channel_te= mplate =3D { > > > > static const struct iio_chan_spec ad7173_temp_iio_channel_template =3D= { > > .type =3D IIO_TEMP, > > - .indexed =3D 1, > > .channel =3D AD7173_AIN_TEMP_POS, > > .channel2 =3D AD7173_AIN_TEMP_NEG, > > .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW) | > > > > -- > > 2.43.0 > > > > =20