From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B1F46C2BB85 for ; Sat, 22 Jun 2024 18:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OtT1Bdv6RV8ExcvkSroMHalr66r6ej9Rmqb6rUMOMI4=; b=c/eAZxzXqjyNf5j1LcRP6P09Lw zgR5wxnHF9vkZ0EysQc/6Cp/o4r+NJB+BlFSBpx+/zoJVKY6N0gRjdtQcx27i24dbEHDfBMo2Pi/n HaFJUZZMNLB5zi+qI0HQtgw2y/luOlkUkguvhliEWEQJBa0xZg+xtJxPXe5pzMn/b/k/GXxzOLL0e uN4ApA44pCTGM5P2m718CYZhzzuI64VzA0XvPvSslWy9ldFpISvLt57V7RNu+4cB9wqoGGZjRsqF2 NIyx5yRaSPM/3OxvKkeAlDWFq+HhOZVJ1+ujan9s29XelmgZO5XXHRYMmQpWbJeEnOBFQvLplX8sR JOf2oSDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sL595-0000000CZaj-1kFh; Sat, 22 Jun 2024 18:07:27 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sL590-0000000CZa9-0Ngo; Sat, 22 Jun 2024 18:07:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 00AEB61760; Sat, 22 Jun 2024 18:07:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F603C3277B; Sat, 22 Jun 2024 18:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719079640; bh=OtT1Bdv6RV8ExcvkSroMHalr66r6ej9Rmqb6rUMOMI4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=slBSHExp0Uwe7g9gxR6wtZtx9GvEjsaR/9tW7T7D7ThM65vtbu5NwRtXOWZLb/A6Z x4vzB//x6l8e4m/dKCQqux2wTtNYCkhB0sPnsVA49iVVQpmQ8/6HKwHmZEjeGxQQ66 +En2No/IKyo4TyARnNnRLLs9Nlw+Wx1OIGZR/8G+Zs7XxL5ECp2Dn79Bh9vAwRcAGW Q8Y8kd5QjhT3h2nHvtxpe7LJn/2WOfoj1p1f/BnDGUBk5Elm13U0NGXZWsbU0pwaet y4XEQJhRSJfiNLyG4NPQ9Gvmck4nLZjpuik3GoyfpXf0YXq3k6IOE95ZnJLrkxyDjj eGKmdj2tsObmA== Date: Sat, 22 Jun 2024 19:07:06 +0100 From: Jonathan Cameron To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: Trevor Gamblin , Lars-Peter Clausen , Dmitry Rokosov , Michael Hennerich , Cosmin Tanislav , Chen-Yu Tsai , Hans de Goede , Ray Jui , Scott Branden , Broadcom internal kernel review list , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Saravanan Sekar , Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Nuno =?UTF-8?B?U8Oh?= , Linus Walleij , Jean-Baptiste Maneyrol , Crt Mori , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH v3 00/41] iio: simplify with regmap_set_bits(), regmap_clear_bits() Message-ID: <20240622190706.670224da@jic23-huawei> In-Reply-To: References: <20240617-review-v3-0-88d1338c4cca@baylibre.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240622_110722_238253_DCC0E932 X-CRM114-Status: GOOD ( 16.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 17 Jun 2024 17:17:27 +0200 Uwe Kleine-K=C3=B6nig wrote: > Hello Trevor, >=20 > On Mon, Jun 17, 2024 at 09:49:40AM -0400, Trevor Gamblin wrote: > > Simplify the way regmap is accessed in iio drivers. > >=20 > > Instead of using regmap_update_bits() and passing the mask twice, use > > regmap_set_bits(). > >=20 > > Instead of using regmap_update_bits() and passing val =3D 0, use > > regmap_clear_bits(). > >=20 > > The series is marked as v3, but the previous two revisions were single > > patches. There was also a resend of v1 due to not properly CCing the > > mailing lists on the first attempt. Trailers were pulled in from those > > where relevant. > >=20 > > Link to v2: https://lore.kernel.org/linux-iio/20240613133927.3851344-1-= tgamblin@baylibre.com/ > > Link to v1: https://lore.kernel.org/linux-iio/20240611165214.4091591-1-= tgamblin@baylibre.com/ > >=20 > > Suggested-by: Uwe Kleine-K=C3=B6nig > > Reviewed-by: Linus Walleij > > Signed-off-by: Trevor Gamblin =20 >=20 > Acked-by: Uwe Kleine-K=C3=B6nig >=20 Series applied with a few wrapping tweaks. Applied to the togreg branch of iio.git and pushed out as testing for 0-day to take a look + because I might rebase that tree after some fixes make it upstream on which I have other dependencies and I don't like doing that once it is in the public version of the togreg branch. Thanks Jonathan > Thanks > Uwe