Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2513969lqo; Tue, 14 May 2024 00:26:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMxJR2oGJ+syno3mPZw4kVxZ9gbCFDfoBx2hJDAigtLAlGTX0VWc58/4rmdGcsOMEsCMDGPfGfesKJF+V/IxtBF+olbsFu023sLSLdgQ== X-Google-Smtp-Source: AGHT+IHMjoEe3AnWNdLKkwE88jbLwJuxQ9h52yFyrbOw54wpabwCQTPiH06SKLupIaUNBQwwucwu X-Received: by 2002:a2e:9b8b:0:b0:2e0:6313:fe3a with SMTP id 38308e7fff4ca-2e52028a84fmr92891791fa.35.1715671574317; Tue, 14 May 2024 00:26:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715671574; cv=pass; d=google.com; s=arc-20160816; b=Jg14JDrQwSRTN32vhsCBkMYb+syQYDvvcT2F+8I3wSlTcq2uR1Z84V2hoJk9qUxP4O 9lky1MRbXxYpLp1yk/IV+LbX+bBz2+0sPHrTMJYrCDF3aAge5PLcmcupIwpCUoUEy9h1 71Dmsc0HjriwSae1OhrgQk1mA/RUR6u8yPCi8EI1NwXtnPHg0Saek8y23D5j1JM4XzHj +jzaGgookyWT8ALzD2oV7jkiO09wYbHMFrkj/vmO67mMqTRyKIMtr2rAcroSXTrbuiuh z4Zl5bbDan6PY/6U+JPn0NrNV/Hz7lQacLiL2opgQqcLx9BusDHuC5aCs1ZuPcUPuwnW IUEQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=FclNGTwxEEbL2HWDjsbXWCC9bB2lb4Q4kc/nCbl/Puw=; fh=LhdatDguh+IuN1lDyS6rzhx9ubttSYYZpDCGFgekH1E=; b=kia7GelnWv7Wbxadk2oPU9CEV3t1/j9BBHe3jMxUbpYDsJ8HzFlNloicTcbd6ZLTmg Dog9fzQXRwBy3qFfd4slnd9b5WwiyYcRC+ZlCNbC6/qdNG5IB2s2+wsOHZmwZmoyTIsD h3uJFsHrtIDIanzT4p3MZ8ilmDDZdMQpPTr6WnjNKOUAHs9sBpoIi//1W35CUb2FI7qG FJEtcUmpese5SFuZF3CooX13skPmZ7g/YhyGa8gwec6CccpGKJwuDJgQO1P+63LE9C2n 0pGknmEyZ447D4jeLx0hZoQqzp83qs3kLYTz9zy357mVDFAAYiQF0I3qPRmULCFb7/Iq Vgow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G1YPvxU3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178386-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. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a1793c2dasi605171466b.141.2024.05.14.00.26.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 00:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G1YPvxU3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-178386-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178386-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 0CDF21F21BAF for ; Tue, 14 May 2024 07:26:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9270212B7F; Tue, 14 May 2024 07:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G1YPvxU3" 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 4842628DC1; Tue, 14 May 2024 07:23:19 +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=1715671399; cv=none; b=aBJ6yN9qB3xM6qUAhZWtuRkWQGm7n/84ZBUlzqsvZVkG/QwWzaF+JEg9KrPVdYnTyVIOrx5C4eXNCphfCmMLDXvPCTUjGV+gaWL+cuVMM15sXfnnP/USUNGCoogkhG4oiJ67KhZH4kRoCpijred+Wth+PYFKiOsjN3gxLtmtXxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715671399; c=relaxed/simple; bh=CH6KEJHDJ5SKHbuQjpX1KVB6R0zspN6qqhSuvnA4z9A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Q9c5Y3zora1duIYrn/K64Vfqxj+pnPHSl8HFQ2TvypgO46jR7LHMJyzKXPYb8N+kYjVWED1xg0y6XvpUn1nAroKTTbeB6PmRxFrcLOJniNVihQQjEwngss9eiw2cHAc5v5FS6LpiLtjIBln3b7mLXuIeY0HyqhTiQBNprM3iNgQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G1YPvxU3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 90A08C4AF0B; Tue, 14 May 2024 07:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715671398; bh=CH6KEJHDJ5SKHbuQjpX1KVB6R0zspN6qqhSuvnA4z9A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=G1YPvxU3XQYBf+KAqC5WT/AqUrM1nHwcuwQnrKPeV2JwzWhUWOKaaB+F/mbf0A3eE WIHmKYsii6XrlVsiUodq7epa6nAD0UJEt5rdzpfaSEwYETHTLC/HXqO1i/DVcc2paW Fc20WD0nPVlXtZOJEBtYceKqlTnsD3ebUt/QHd2ih5o5qT87f8oYKKlc1MFroPvwt9 J55/OgnvoKYijhSnxPevFR6gsceKer46nA/bQhjiMfLlWTSUPSSe4yZagVnAFbFXfD tLicyOcXggvG1tbfW6BSAWKRa9UEYVdag2NoWXgt5Gh4gNKaxwP09IfH5BZlPgzJVt +HHLBJ779QDVQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 815FEC25B7D; Tue, 14 May 2024 07:23:18 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Tue, 14 May 2024 10:22:52 +0300 Subject: [PATCH v2 7/9] iio: adc: ad7173: Remove index from temp channel 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: 7bit Message-Id: <20240514-ad4111-v2-7-29be6a55efb5@analog.com> References: <20240514-ad4111-v2-0-29be6a55efb5@analog.com> In-Reply-To: <20240514-ad4111-v2-0-29be6a55efb5@analog.com> To: Ceclan Dumitru Cc: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Lechner , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1715671396; l=818; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=PHSKNobPRYt9MaauQ24UkVzLnDgB+hq+gyvloguiHrg=; b=HMYGVrDTQhYns7yYxeY3C2C+OvnbjG9Ge3+00rD6BtPfU6yLR+xjZJdaBoVGHTQmFqNA0LhOP p3dddLpMVYZD+Ltf7gQ1xEtHRSSSPbvQ9p8nLhWvPEFjzv0X1riJPrA X-Developer-Key: i=dumitru.ceclan@analog.com; a=ed25519; pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo= X-Endpoint-Received: by B4 Relay for dumitru.ceclan@analog.com/20240313 with auth_id=140 X-Original-From: Dumitru Ceclan Reply-To: dumitru.ceclan@analog.com 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. 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_template = { static const struct iio_chan_spec ad7173_temp_iio_channel_template = { .type = IIO_TEMP, - .indexed = 1, .channel = AD7173_AIN_TEMP_POS, .channel2 = AD7173_AIN_TEMP_NEG, .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | -- 2.43.0