Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp236577rdb; Thu, 21 Dec 2023 07:50:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+i6AaHfisoFfLa8azbbvwsY2hZngE/H/w+JUvXKgUMH/QsPvrVxohCuY1xknw6CdnUf2S X-Received: by 2002:a05:6e02:1c0b:b0:35f:afca:8c56 with SMTP id l11-20020a056e021c0b00b0035fafca8c56mr10392143ilh.24.1703173859328; Thu, 21 Dec 2023 07:50:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703173859; cv=none; d=google.com; s=arc-20160816; b=sh6iPjNuiI86SCK2/09xjCaKdFPhQ9ASnG8on+6e2EucPanfOkcOkiR9le9efbsmNj 4eZ2kZtLOavwAg7H4OCZ3w/i+Nd2vV9lAvfe8Dn1IJQ+6MZNBXMzFO1qsy25L+E/immE 1M4zZKMTioRffZH05rPcxpJEt/L7DC+dnoTKGXH+QBt+AHASl4CPdGb3d9iHaW7CIqqM qCetqerpSufIiZVbJgaWII3AF6hEFdVS6mS0OpsKtNG4I96UeP8H4ZyDPSBK3hvhh3DO k0ai0z7JsyeTxSgU7Iex0xW/3herjU6DQNGJoyZNuPefLQg05LDamXWH4Mexu6DwQrGZ QHSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=yJp2+7d/ENqijasq24Jv8YxqiCTRmu666fhy03jCC3E=; fh=BiTih3HBn05OJvpBeKJCJhFgvirybBPBq65CdTV6sMo=; b=FxqqQ75wpkfioXqgej1/+mFtPNyXHt0houRCI5OSzLFtNiNY1XF/y5HbNfK62hA8hc m3kFrgqyYFtHfxc56pGDt1CbstqNnyd2voQfW7Ie8oCFZqaJ+PwgehLnPf9oeiPbpRxF PRsOOYD4qYUUt9mbVCy4sVVM/Iuanoa6kEB8JAg6OQetLPgrgoL2Z7Ikka0yy8odsn7m YHm7cN956sjl+4e6koFa48YwrBJIYzxRVFQegSHY7aGFIsfHb97Rp1cLslOvxQaXJ3Sg ZBTJf6CNYAwOgWfnNxOZKy79/qYglgK7B4ZyCUjIq6G5ryXMp97fuK+VZyi1QwJ3SVok tS1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-8707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8707-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s62-20020a637741000000b005cda184c282si1728436pgc.210.2023.12.21.07.50.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 07:50:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-8707-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8707-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E3E19B25E4C for ; Thu, 21 Dec 2023 15:49:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6114353A17; Thu, 21 Dec 2023 15:49:00 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) (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 B7384539FD; Thu, 21 Dec 2023 15:48:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="393156801" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="393156801" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 07:48:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10931"; a="949959199" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="949959199" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 07:48:56 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rGLI5-00000007t1g-0GEc; Thu, 21 Dec 2023 17:48:53 +0200 Date: Thu, 21 Dec 2023 17:48:52 +0200 From: Andy Shevchenko To: Kent Gibson Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, brgl@bgdev.pl, linus.walleij@linaro.org Subject: Re: [PATCH v2 5/5] gpiolib: cdev: replace locking wrappers for gpio_device with guards Message-ID: References: <20231221012040.17763-1-warthog618@gmail.com> <20231221012040.17763-6-warthog618@gmail.com> 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-Disposition: inline In-Reply-To: <20231221012040.17763-6-warthog618@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Dec 21, 2023 at 09:20:40AM +0800, Kent Gibson wrote: > Replace the wrapping functions that inhibit removal of the gpio chip GPIO > with equivalent guards. -- With Best Regards, Andy Shevchenko