Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2941827lqo; Tue, 21 May 2024 01:46:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUymJQlEybdru4WXXHvzn/d52wefuqiB5fmkZZ913MPBshGpS6oh5AEU37Ri9KRJsx6PPiqWb3rrEy7fCFTQBvqrVY93R93+6SKQs2RoQ== X-Google-Smtp-Source: AGHT+IH9m9zCpiLYjc5ucMcmfh0tDxu9tRw1pwnP7jLn7n4hDegY5AHyUBeyEnYQh80wfU38sU8Y X-Received: by 2002:a05:6871:7410:b0:23e:ed07:2d43 with SMTP id 586e51a60fabf-24172bf84d2mr35603779fac.35.1716281211893; Tue, 21 May 2024 01:46:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716281211; cv=pass; d=google.com; s=arc-20160816; b=Gluw4If8FGCijhl4ASIUCgzLHBcK5AXQJhXNqm2YA5v7gCidYRlVH164ClDoVzmuBC Wy1/edHBiiBd3oPdaXnB6JhvflMaawxBg0JrJP6HUVBgnFTYk0ODzHdwC6c7jhCuWOuS A25dic35LDs6JzhgiOeayztKzsrsDW8/Iz4lsa5DAV3fUG4KXI0aYkKuUyQFgAi4KhC4 rSNzsk4K8L/jsiDWuWde1g2lT4hvNyB/wS1vbBi2E9ivfR52IEodySDEE8uwgXWxCVDc xTCKXyQ34NBCyQvPEr/SxUZ4IpcjRhd0k8wFS5lHJjRkeqktJwQbhQifnfXrKpXdzR03 3KXw== 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=p6O+jrM6ZymW5eBo+VCSalqn5J4/sGoz2ljHBavW8q0=; fh=dEMLGaclNUjDrX7TtrS7HQ3JKtPwTNhpSLZiB1OTT5A=; b=yzkjPdVWr+fAoxS9f8xqE3kEu74ZiQHr0W8CBYsSKRC33gEoMSdkE9VtFJ7CpAKgvh thcZ2j2UyIT8rloKjB39zNf9PetbqIqAShxb8fR0BI9azGByWJXnYedV7OQZMV/46bdZ BBdODqElOrA7Sk85zwzSsfkfxgRWUPvmKY98JSQfI17ztOBiftJCSKXcqCwfVCk2YfLK 8Pf68V0bF0QDL0HX8Ruhv8BZLeqdwZKohTv8LATAT8KUlXzflB7Bu9rq7KBSaPTvcsXd toJ6BmTHFCZANNUGZ4rmbkw0nZnicjQ8HIJuOvC+S6VPKaacKeay9cMl/OiPWWTt8C9y hr6Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hKMEV1re; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184667-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b1709dsi23418817b3a.261.2024.05.21.01.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 01:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hKMEV1re; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184667-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184667-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E372282428 for ; Tue, 21 May 2024 08:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CA0946024A; Tue, 21 May 2024 08:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hKMEV1re" 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 E7ED55676F; Tue, 21 May 2024 08:46:26 +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=1716281187; cv=none; b=JvpnCT0CcjcRIf5OSCh1xLtHBGeJrnzHKP5ssLPjJaEv95HzZ0Sl/TocZjsFqXxmaHXrjodkZ7+JfvC6DWl3JXyfVZcqSlEHktlkMsyfcTiAHF2woe/8XkFOK4IyXBTk4kI/Dr1io4rmcgcg0cj0UVfoNePdIidiwQURMQYYfQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716281187; c=relaxed/simple; bh=C5v4/fLzS6Bdo8dJf1AM1vOKlChKS52Cq8X9QRh1u/I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qZWMzEdgMaBdpY9nJJXmevqZfDIK2PRG3KdWXqEjegysMdnTuIf+WE2rhFYWh3k+C6cNIrmuPy0+59z6bTJZhSXLzbjxiv8nPXtr1ksRrJy/slVH2Eo0CEARJ1bT0m3lrswrDkvFUrOiEHOIFJ2E5Dt8hHS9ArU2DDB3DDlvbro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hKMEV1re; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 9F905C4AF09; Tue, 21 May 2024 08:46:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716281186; bh=C5v4/fLzS6Bdo8dJf1AM1vOKlChKS52Cq8X9QRh1u/I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=hKMEV1reeeKSM6fSCtgDFn23jtW7WBSlf6PVbq3Y7+B/epl0vHGglZwr5ngzy/i7h GDEBXbsFqeVH3QiSvdMw+Ol4BAa0+Y/XRzUXt+Z5s2WlxRku93o7ESz2EclevsTPcx oAPCsSrrmhTD3q8uFucqUpWt6gLULkSJEyjlzz28wt4wpLPPvfuSCg39gFz2XB//QU OyAP7Xxw5p1teU4zshXOFbjhzLsWr1DsVh4CSpon9Htg0RX7r4aShJ3I7OtMzUjkKi ZkGKgYQc3X7Z8oF6ficEet92QCxijVXYfrxD02OQPZGTLMc0N5ciVHL0IGCQMEYnuV s7uqP+m6n8unQ== 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 9276EC25B7D; Tue, 21 May 2024 08:46:26 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Tue, 21 May 2024 11:45:41 +0300 Subject: [PATCH 3/3] 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: <20240521-ad7173-fixes-v1-3-8161cc7f3ad1@analog.com> References: <20240521-ad7173-fixes-v1-0-8161cc7f3ad1@analog.com> In-Reply-To: <20240521-ad7173-fixes-v1-0-8161cc7f3ad1@analog.com> To: Lars-Peter Clausen , Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716281184; l=851; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=qHzAb3Lr8QOhPoRlBg0Itkn9NRPMWDsCz2unbRqp8RE=; b=zxXiZsq7aw1ZMWgq02220Luc3U7UtU/mZVkZapTEiP+gmlZk+oA/AvL2vULuakdmQeil2AEGB glgGrhonwrwAKUgtuRVvx0+bB1OgM1EzTT3cTkGAKHvLv37iFmmxK6H 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: Include fixes tag to be released within the same rc cycle. Fixes: 8eb903272f75 ("iio: adc: ad7173: add AD7173 driver") 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 58620be41ef5..eb512878c30e 100644 --- a/drivers/iio/adc/ad7173.c +++ b/drivers/iio/adc/ad7173.c @@ -815,7 +815,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