Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2469551rwd; Fri, 2 Jun 2023 09:48:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57ZKyqWpPREKK/aF3oOSiMOWayKPGBBGBBrBEMocF3SXhtrOb0x33xFL8ROaQCuTVvKmkX X-Received: by 2002:a17:902:e807:b0:1ac:874d:f55e with SMTP id u7-20020a170902e80700b001ac874df55emr645156plg.22.1685724534544; Fri, 02 Jun 2023 09:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685724534; cv=none; d=google.com; s=arc-20160816; b=vkknjSjNGFn/Q8Q/6U+F3L9PLaXOQQsVmw6B3RPNNLXHmeU4dfLFl0y/Nmuqjouaz7 Yvx26tQvTop9JwltHMzLGMVxQBNhR2UWDy0qvIj4mJg5B8kmDtBPeMjvEQkQmCKXdVV/ gPSDRXD59s1IE/2HaikXfGewbvlCrBLehtFW46dnbK+PTExKIJ7aMgZMBTq8uyBshBzO UmP9k3DHJ9BezNDrbnOWMuh6f0d/KSVEESs4bSmIZcFlQZM32ES+qcaBiCjri6LpEJhZ 0YsqwUt/rKC5BseT0VCPQ0cHvSLQ5GnfjkBHph6DOg0VLNUAtWpxDh1JvPf85gV0pb0Y mA5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kt19iHBbL7vB4gY5O3jr8/ovrEqYBWx6WFnkhHVEHoc=; b=Btfnx+oxeeSRybc8IV46VSMd10ASab44LQSfggW1o6HOq4PvJggwnAws/I/BZrq+QF OOpeLdlFxCTqnO7JQg9dgFEMcTA33A1NwND0VW6h+FQ418CfCrxRSkuSDCjM56p14WVG b7KMLxHCXMKiQU8efts8jrK3zgWqRRZD7RSE5cPHxNG5UJojYPOqFKj0VCQBCKPcf84m mBpERdxdBMeToLDu79igyFBmC4w2dJbHx9l1eaIdgBSyfIz3GBkpAUaeQGin9t3Qmm0q GarTbCXPBpINLLTQxG4aj5jxix0JcAc2PLbhTP19DM0ghl5h4FLzeGNBcEuWMvrflGax TxfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F4pPLUwH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11-20020a170903244b00b001b046acc84bsi1208115pls.226.2023.06.02.09.48.41; Fri, 02 Jun 2023 09:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F4pPLUwH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236773AbjFBQeg (ORCPT + 99 others); Fri, 2 Jun 2023 12:34:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236489AbjFBQed (ORCPT ); Fri, 2 Jun 2023 12:34:33 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B28D4196; Fri, 2 Jun 2023 09:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685723669; x=1717259669; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rnEFNznSwplfZmjgpBx+7PY8r+7rtAddz5y7k6ff+II=; b=F4pPLUwHvtdFEKKA926ZM15XVC0vgeYfAusaGwI46zZvC7gBxP7QRRuP bVdMpThU1ZMMlOydvU8pKcTF1xi4sD7IK0qjTjZ+IggiG2MHopu+ChBoh juYJfiqlHVy809Q2gaCQX8U1A/GWds05zLV7cDLSmWKxS5sqpWpDDNN72 Hu9BSFvTP2AJIO9Xyld0Wljf0BQNEQH1CRmk8wYzm72QqSxNsnRjIIudE KAongCWNVRVhgpJQVGtPf3XqnSTlixRhozViNV7ListKxSi/iWfoMQvWV 96uknMYZpssuQ8sln/CUh3IIB/Wj6Ur/G9bn2hijlApsCUQbyQ1J/moOb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="354761729" X-IronPort-AV: E=Sophos;i="6.00,213,1681196400"; d="scan'208";a="354761729" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2023 09:34:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="832036141" X-IronPort-AV: E=Sophos;i="6.00,213,1681196400"; d="scan'208";a="832036141" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga004.jf.intel.com with ESMTP; 02 Jun 2023 09:34:18 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1q57jE-000hvZ-3B; Fri, 02 Jun 2023 19:34:16 +0300 Date: Fri, 2 Jun 2023 19:34:16 +0300 From: Andy Shevchenko To: Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Linus Walleij , Bartosz Golaszewski Subject: Re: [PATCH v1 1/1] gpiolib: Do not unexport GPIO on freeing Message-ID: References: <20230602162258.63853-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 02, 2023 at 07:29:00PM +0300, Andy Shevchenko wrote: > On Fri, Jun 02, 2023 at 07:22:58PM +0300, Andy Shevchenko wrote: > > Since the legacy exporting is gone with 2f804aca4832 ("gpiolib: > > Kill unused GPIOF_EXPORT and Co") there is no need to unexport > > GPIO on freeing. Remove that call. > > Note, the other users of this functionality do that explicitly, > > except one SH boardfile which doesn't free GPIO anyways, so it Actually OMAP3 as well with the same idea, once requested those never freed. Bart, should I update the commit message? > > is safe to drop the call. > > Note, that this might be squashed with the above mentioned commit, because > I haven't checked current users I didn't do the removal in that patch. > > But this will probably needs rebase which is not good thing process wise. > So, just my 2 cents in case. -- With Best Regards, Andy Shevchenko