From nobody Tue Nov 26 09:35:19 2024 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (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 701CF18C936; Sun, 20 Oct 2024 22:01:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.154 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729461682; cv=none; b=rfneUY6AtVqbYcPLpwOHjTHPvZ3kc1+B8Ts416PYQ22qc/YiiuXzYUH9tlGh9OOnpHGPbrnTYTy3pZjmxkZ8ERbIPbxSuRG/BGJk2jAf6H3ZnbtRVI9bZHS4ZH/KbkfjL6XmXG9QK4ataUGjYXt43r6yEBLhhhPBsx0HmLW4v0A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729461682; c=relaxed/simple; bh=qdw5MFMRgYhe+aVYPJBeXeKc1wATpB/PgzF8oG7E8mQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=n31JJHDNyeyYclSnkoLCmy12/9BfkifXSqYEKaJ5G2pzc6qm/gy6Sl9dwr6goK/jjZQqDUsV85w4+3uGoHJDLzhDZMNwXMep6Jbw0KFUKmCvu0DsCa5qC+oLXERB9ueAoH5dLNe97ZSwexG4CtgPZhXkh0lJAV34783nphBf7b4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=justinweiss.com; spf=pass smtp.mailfrom=justinweiss.com; dkim=pass (2048-bit key) header.d=justinweiss.com header.i=@justinweiss.com header.b=JWF91zCd; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=lDr8om9h; arc=none smtp.client-ip=202.12.124.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=justinweiss.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=justinweiss.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=justinweiss.com header.i=@justinweiss.com header.b="JWF91zCd"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="lDr8om9h" Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 307E12540090; Sun, 20 Oct 2024 18:01:19 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Sun, 20 Oct 2024 18:01:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=justinweiss.com; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1729461679; x= 1729548079; bh=Mj+psUKkmik1WyC08oA/zlwOnP61AyJE1/Yu7zehAGg=; b=J WF91zCdA/933hY/YBMwjqE3371Ux+NYk57RTVbE35bT3KqmZIe4hGycP5s9q4ykw LINzBR/RtZNOwJcg5QdAWcsdWRKunA/TG5gtTvDlzsIoB0YFfcv58H33659sdMN/ 9VKadxnLiRR1UKRjUcPSaY+gN+dDg+YoeV4tJ4vb8s3Su6MCrsN9LURkOEj3ri48 6i8Hg7ofNC5ftLA/Pyr9u2idOQ8MdECkCWK/9EqzDoJWADtrv+84SKD+KoiLcnSw AqG3Wke7IUTcWxGQLGskDpqCBxmf+v2XSAj+90VgxpGuNf8QzuX7M1pH1Ta9R4FY 8tl1REZ53BIPGnODH7o0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729461679; x= 1729548079; bh=Mj+psUKkmik1WyC08oA/zlwOnP61AyJE1/Yu7zehAGg=; b=l Dr8om9hPMfxIzlFu8Z25t6dgAqca16aeFyL9znQaGOdTWLrWfK9FNH22PdxUO5T1 0kuk1cn8EoGfOjFmfqGmBL9PF6IQLt+AZ8q8IaBHG+AbmIQoavJje+bFdxZB6whT 3Ca/ilJkOVqOkQQfngaDhfhaKfF1a1H92KDH3yoH2fl9cAud4xcsHgCqkxZrB/yO ViA1ZKgybXGynL5Yufv+3JVRVZVWsepoO4lPxXgV42sjYJhsvt+6ekXdTbifbmz3 hpmjxaJI2fkFKIO4L167THA53U/K5N+aQ0UqtNBiTxW/9HjzUmWHkjlrFPHyh0ql +/W5dt6WPDn5/lH9UCSew== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehkedgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofgjfhgggfestdekredtredttden ucfhrhhomheplfhushhtihhnucghvghishhsuceojhhushhtihhnsehjuhhsthhinhifvg hishhsrdgtohhmqeenucggtffrrghtthgvrhhnpeeiffdtvdfgtddvieetffduhfejtdef teelkefgteekgeegffduiefhudeiveejkeenucevlhhushhtvghrufhiiigvpedtnecurf grrhgrmhepmhgrihhlfhhrohhmpehjuhhsthhinhesjhhushhtihhnfigvihhsshdrtgho mhdpnhgspghrtghpthhtohepuddvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope hlrghniigrnhhordgrlhgvgiesghhmrghilhdrtghomhdprhgtphhtthhopehjihgtvdef sehkvghrnhgvlhdrohhrghdprhgtphhtthhopehlrghrshesmhgvthgrfhhoohdruggvpd hrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehkrhiikhdo ughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvg hlrdhorhhgpdhrtghpthhtohepjhhushhtihhnsehjuhhsthhinhifvghishhsrdgtohhm pdhrtghpthhtoheplhhinhhugidqihhiohesvhhgvghrrdhkvghrnhgvlhdrohhrghdprh gtphhtthhopeguvghvihgtvghtrhgvvgesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: icf614246:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Oct 2024 18:01:17 -0400 (EDT) From: Justin Weiss To: Alex Lanzano , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Justin Weiss , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, "Derek J . Clark" , =?UTF-8?q?Philip=20M=C3=BCller?= Subject: [PATCH v3 1/6] iio: imu: bmi270: Remove unused FREQUENCY / SCALE attributes Date: Sun, 20 Oct 2024 15:00:05 -0700 Message-ID: <20241020220011.212395-2-justin@justinweiss.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241020220011.212395-1-justin@justinweiss.com> References: <20241020220011.212395-1-justin@justinweiss.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" These attributes are not currently wired up, and will always return EINVAL. Fixes: 3ea51548d6b2 ("iio: imu: Add i2c driver for bmi270 imu") Signed-off-by: Justin Weiss --- drivers/iio/imu/bmi270/bmi270_core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iio/imu/bmi270/bmi270_core.c b/drivers/iio/imu/bmi270/= bmi270_core.c index aeda7c4228df..e598c642178f 100644 --- a/drivers/iio/imu/bmi270/bmi270_core.c +++ b/drivers/iio/imu/bmi270/bmi270_core.c @@ -121,8 +121,6 @@ static const struct iio_info bmi270_info =3D { .modified =3D 1, \ .channel2 =3D IIO_MOD_##_axis, \ .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW), \ - .info_mask_shared_by_type =3D BIT(IIO_CHAN_INFO_SCALE) | \ - BIT(IIO_CHAN_INFO_FREQUENCY), \ } =20 #define BMI270_ANG_VEL_CHANNEL(_axis) { \ @@ -130,8 +128,6 @@ static const struct iio_info bmi270_info =3D { .modified =3D 1, \ .channel2 =3D IIO_MOD_##_axis, \ .info_mask_separate =3D BIT(IIO_CHAN_INFO_RAW), \ - .info_mask_shared_by_type =3D BIT(IIO_CHAN_INFO_SCALE) | \ - BIT(IIO_CHAN_INFO_FREQUENCY), \ } =20 static const struct iio_chan_spec bmi270_channels[] =3D { --=20 2.47.0