Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1024990lqh; Sun, 5 May 2024 12:22:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjI2fVjlWo9KNvWMqSr7pBc8Dv2fmlyLDpFGQbBMEqY2hnStWjZZrZW/1ZU3YtC+McvEMIVUWmP0LIRu9gwprMAC96bHIr75LuWqcoDg== X-Google-Smtp-Source: AGHT+IFJaqU9mmFc7XDQUInSufVnBN6tmg+U6Ezj/zSkQtEzG+wME6zvdh2rcRHw7ZfyoKtB2afx X-Received: by 2002:a17:906:840a:b0:a59:ba2b:590f with SMTP id n10-20020a170906840a00b00a59ba2b590fmr1892031ejx.67.1714936976358; Sun, 05 May 2024 12:22:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714936976; cv=pass; d=google.com; s=arc-20160816; b=WNxlssqm+aIF2X3BFG8qe1Yk4DF233Gkmn0Jg9JAvxYX/26IMTV0uLJlfkqOyZkpSp OCj+hZD1xurvZ8P0UTJIJj18TgVpAnm6qrhBAu/ww1WU3kQjVUynEodPrq9CEF3Jv9Bb a4Xg4sUrPxTFo5lRRdRTEmZ+VIDi/t4xOSwgkMd1VvydfbNNAqIa/875O8yz56KZHEN6 HcQReoOyqHLmqqrk1Z9nzU+1XiZi1cazfVng9c9mAh0N+Jtj2OKuRh7Zbediwdwve8L6 hkt8NfFY/dBSONJIUn2G3/ddSXd96obYx2znhjE0bs87E75/sIUd6RN7HFJb+kI48238 IzJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=ClR1ARMoDwk+UOutbW2jkqidrSHM1aE9MKtKWDlYl6E=; fh=5qz+MjtH+DgodhGlQ6KpQbQDfbWjmtLGh9743vD1Hjs=; b=wGNnCuzqzmX0UrsQBghqZr2Xm/dSDTIsNx/dsVhB9slLufda40ksIlJEd/n+rihNcY LkPbeWTMniN3M0ZNAJKrCXPcMXIPh0DSSkZ1A+IJdYjwjN1C28+On+j0mNOdL5lwirxW xoseyPWeMYJP3EgTFzwb5Y1m+3MxJgQjz3CW7a19hPXQ6OFKyoLdviBUExi08w63B3vD ANyLTBw0Ry0JqZiAAyxV22D1koW9LGna0tiYmS0+ylsZqX1AmL2wUaW3VQ1aBm9XAVH7 x6wl3Pk45JMBgDiKGtAln/DS/l5byKDjxYwn67SAyJoqgntdcBsJ9hu/2jWwQBbjxYVZ gI7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OWekGzmg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169110-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id oz39-20020a1709077da700b00a59c6b6db1dsi896755ejc.439.2024.05.05.12.22.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 May 2024 12:22:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-169110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OWekGzmg; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-169110-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-169110-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 19D9B1F2121C for ; Sun, 5 May 2024 19:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B51E46E5F6; Sun, 5 May 2024 19:22:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OWekGzmg" 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 D2D646BFCC; Sun, 5 May 2024 19:22:47 +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=1714936967; cv=none; b=jQ/SGPQ4PUuu9g0P61vPP9MBrdKiLytm+f3JQf6Xo+Z15baa3P6Pfpq8TNOEuuBkhycI/fEYRy1WsnisQLJaQkoJYmjXHbeoj7Ls4+ZHgO1rnboreUM4RCN4uv9GjOvZ7QPXCtkRWl8xRWOpkRAal019dLo//M1i+s2LYd4pqS0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714936967; c=relaxed/simple; bh=Lt8WVoUDyxHbAr6/NPiYItA14a9yJ6MV4bxPM/leayA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DdzVc8uTS8yxfJH+Dn7+PPcfiwEMytAlldd7d/MKD7uN2n4BpTMf6ppzvEJblKM1H553qRkQf6WT/m9RVT4qKsi0BMHV53ndQ1XEd8xo+hJCj+O9tE2BndUZryFoIbnwffQ9DXMJ1p81duTk6a/JGUwxbfhtyjOPjfQfQ9i3sD8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OWekGzmg; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B83D6C113CC; Sun, 5 May 2024 19:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714936967; bh=Lt8WVoUDyxHbAr6/NPiYItA14a9yJ6MV4bxPM/leayA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OWekGzmg4cDCyeYscf357lm6Tj2eGXS6Kz6OZoIT1jGc6pK4PkQpnTilhPHAvjqro Mj+veFYDDLHHMG9zv9JFP7JhVWyPAwnz9RBuiNUqwR3goim9QXV1pgc15f/wpJOdoD f63bWecjJBftSfe7eBboTWWbaTcgdp9sZRoR9Yzta1D16nV8mrvH8jC0tYiadLim+7 UMiy/ucTYT3qx/fcdGI3w6jDFWDMiv5MxqbDKkBfnVHCsNxs5gBxzIBS2SXrWlTCCW 41Wm70UsP7V4/JEbRwiynB+f7Zt6Pu3QKVWkk+AhYb9liwnTr3TqnH9zwnpKXM3Lr/ 6eVSCM4ZLLyFQ== Date: Sun, 5 May 2024 20:22:34 +0100 From: Jonathan Cameron To: Vasileios Amoiridis Cc: lars@metafoo.de, andriy.shevchenko@linux.intel.com, ang.iglesiasg@gmail.com, mazziesaccount@gmail.com, ak@it-klinger.de, petre.rodan@subdimension.ro, phil@raspberrypi.com, 579lpy@gmail.com, linus.walleij@linaro.org, semen.protsenko@linaro.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron Subject: Re: [PATCH v5 07/10] iio: pressure: bmp280: Introduce new cleanup routines Message-ID: <20240505202234.33662b4d@jic23-huawei> In-Reply-To: <20240429190046.24252-8-vassilisamir@gmail.com> References: <20240429190046.24252-1-vassilisamir@gmail.com> <20240429190046.24252-8-vassilisamir@gmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 29 Apr 2024 21:00:43 +0200 Vasileios Amoiridis wrote: > Introduce new linux/cleanup.h with the guard(mutex) functionality > in the {read,write}_raw() functions. > > Suggested-by: Andy Shevchenko > Suggested-by: Jonathan Cameron > Signed-off-by: Vasileios Amoiridis Looks good to me.