Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1247485lqb; Thu, 30 May 2024 05:08:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUC07F3uYAy0IiF9eh0fq73ZxRiz3wFJNWi+JOnKiNWWRHIv5BafzFCyGilzZjGqhV2M4+ju/quxwX62norKQGdfayvD9Tx02w9FssV5A== X-Google-Smtp-Source: AGHT+IF7Ztb5LsNYUpKLRWnjl5kxubcXBVhbIghdbJ0wdL6wHwePXNpgyAC3F6iIiOFwNbp0ehM5 X-Received: by 2002:a17:902:e846:b0:1f4:8e97:de25 with SMTP id d9443c01a7336-1f619930d5amr16806675ad.44.1717070904702; Thu, 30 May 2024 05:08:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717070904; cv=pass; d=google.com; s=arc-20160816; b=1Edpgid3HDvQLtfMhhhbuk9wPSCvZLx2x5+9r7Rtls1e5EoPbmyLXR/uYlZNKE0xS5 NrQFGbte+YK7Jd/+k8DLle4urG628u4DIJwhMU88SwvD5CpFmHt1bX7cwvJcLsiOLbOs HrW1E6rQjObxGD3Xtzkuz/le8q0T4Q1yOm5FJ4i7yVeqaQeefHaziqkgIbcVVfUj+u/c +jFxv+ud5jBHvwQ05aR647yg6XHB1/Bqcdrn4r1o4xqANrNPgT1y9IEu0NtdHhFO26FR mYeNpbEQpXugLczwslipq7rGvMMCa0TStuReiqyVzJWH8kSuPTHQTc7pHECL+ZoW5xiR LSYQ== 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=+0JxBwAIxgXrPbgpITLGafFl+qo+GEpLisyPcty2UQ8=; b=iuDGH9sjIwkZURXEPF8oCdCRY1523YdSWsBxEhxCuBTJUdR9hhdyI6RTJftmLE8MiD MxzivxYe85oOMsgyQ+oGqOeX5wwk6sZliL1TR1YJuco6Qbo07hzSH4OMNjXCSH8SIyke 5GuB0ik9GgfxLXe2FrXu+x4xFl5B4pzWQYCThLwvRRf4hLNAfFlDYcGvodCyaU39AMQt lu1QtFjeZMX/F+Zh0qfNRxSbox2WlLw0eSgE2dG6/ppZhRPX9V7DYMNDdfqhDpVfGB1n vnlH5HfgEu9M6fAGLEfYYZ2IeOydYens3V0ZYXjqX0QV7P/GJ0mTEnL407Gza2GMiwqm mkGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=An3Upmex; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195340-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. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f6296419d7si2068495ad.447.2024.05.30.05.08.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 05:08:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=An3Upmex; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195340-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195340-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 D3A9A284C18 for ; Thu, 30 May 2024 12:08:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 823FB183A86; Thu, 30 May 2024 12:08:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="An3Upmex" 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 996F71586C8; Thu, 30 May 2024 12:08:03 +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=1717070883; cv=none; b=VaBiGP0QrT8hK8MZbKlvKKpSQ0YzccVJpa3L6Ss+ut5IBmMlxpc1Pr6d0wz/dtZm24z43Y4P2z1pyJ9d4t4JJpzxWSf74DnuBzqUtIMkmvk/mdP3CpFbePgBL6+/T+fe/A3RhiHCOMDUzkumm1Mo9wvUqjFN/akWTEfB1VnfGmI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717070883; c=relaxed/simple; bh=C5v4/fLzS6Bdo8dJf1AM1vOKlChKS52Cq8X9QRh1u/I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Pvl+522L4lZ7VzuRUzD0BJ+lUudEVwcEdux2b4g/j4Ctojz3mkidAi8kudjRxp6IwSSuTfHhGAmYd/wPFpbam15Tu9hoei/9VBWhRjM0lPcwQ2hi1TWOzumgmQlFiXJi6geUqGBUGoPX07VrkrDrGOL8k5F/DzDKtwOBTYMOK84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=An3Upmex; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 50D1DC32786; Thu, 30 May 2024 12:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717070883; bh=C5v4/fLzS6Bdo8dJf1AM1vOKlChKS52Cq8X9QRh1u/I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=An3UpmexAyQUMe/fqa/Pj1UpvI6rhIzmThA7emAxMtOeRHYbttqBMQjdZxPxB66al HdpHe/MSYpna8Q5MDbvUGFlv4KITyYO1z2gsR9cbmWZnfRJk68a0oxSazsVO3N1GYL iSPBYZQCxaDga1FT6J5B0Dp3y9mCZZ10s+gnJLat729Q65COw+fUKSlAw6GI2lisFm XSnzHl+RYRIG+zs+8a2xk/xYH/9YoQRQ/5WY+JLQSTQVRB73OLBwSk1snK6UW9lxAE GvOjQqvqHm+u5TmZiiux9+998hLiYN51ENA/uOAYsIbNVVnmmaJJqS5JpyKozMR183 M9ILUvjAOEzvA== 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 4304FC27C43; Thu, 30 May 2024 12:08:03 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Thu, 30 May 2024 15:07:51 +0300 Subject: [PATCH v3 3/5] 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: <20240530-ad7173-fixes-v3-3-b85f33079e18@analog.com> References: <20240530-ad7173-fixes-v3-0-b85f33079e18@analog.com> In-Reply-To: <20240530-ad7173-fixes-v3-0-b85f33079e18@analog.com> To: Lars-Peter Clausen , Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Dumitru Ceclan , Dumitru Ceclan X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717070881; l=851; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=qHzAb3Lr8QOhPoRlBg0Itkn9NRPMWDsCz2unbRqp8RE=; b=/16b4nMtXcLOu4ow4Fo36AISvbGQFYNZfcH6Ew8bLJc677ALZIM/4O0JxSjII5wclXnV8aT2m nWG7G+MZxNRCAuXDy3y7k7xXZJy0ST3XJcydCTvt7PkOv1o7cfGWCwC 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