Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4551093rwj; Tue, 20 Dec 2022 11:41:08 -0800 (PST) X-Google-Smtp-Source: AA0mqf7HVUQTMc+yy9rgKlUUcgoUUH9YEQJSvCRRPefzqTMFp6G9gns9OEAFqNztDA46YJPLrC2N X-Received: by 2002:a17:90a:ba01:b0:219:3129:e799 with SMTP id s1-20020a17090aba0100b002193129e799mr50103061pjr.34.1671565268279; Tue, 20 Dec 2022 11:41:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671565268; cv=none; d=google.com; s=arc-20160816; b=XDIX8cxg986zvbtUgANFpzOO+2W0JcnyJI8KCl8x6VYSB913Kksdxgxk6PswUD2mcH DHYzB3Y11/WlJC4/s7HyMtXH1KsKnbHsbLuHGhCPl3jAx6KxkFw98o1K300fO8lzNsW2 Wcpb62m5DVlwbqm1BSTDWO3bYgO3Xq2+gWx0b5CYqxVZUCzhBhfbs/g2WExDbL6gx6N4 SA6d2EXgvJgG8Cjf+yQ4xAjzBw7ECAmS3kIBspoEUbY1YdQ/JpmLDFTWWFQNrVrrZ+N4 5flLxpalXk4vcmuvMBSpIj8Aa5wtW9/EN3HiNEyOxDJFq7jroeES1N/25SV6XdHzSk/M +G8w== 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=7XGXbKg5iPT3uqkAiF5oOkRV43y6gLO7H0wdPHa1Hj4=; b=A/sjVHBsp0T5dG2IXP7kh1AuL4h/tXEAyRlvNtlghe1jZdb/xseUZX5tmdbfSJhKjV zIo1YMmKRZPMOJ42oUAlycJ0mWlsIQrRNdYW3aH8bJhT7he6SppXpoYWa4hNvmJJzQed MIFHITcV/0zlXMHs5v6WsgfeFvwlnpfZagQOkIRUdIBRzA/YEoxdsUrj0Tg5Epy1HKCB el/uCpFFCmN1nd3SvxgZ231mGV9USQjLb946NHMLymEbNiZVDg+YX14/K8O+9zjWw3lP QpHCjYS92huInO/Z35B6s2vUbXh6IeHKhETRogq1r6tlXwSio9JPt3/bF7wqcEvpJSrj MbFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QJyc1IbQ; 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 2-20020a631542000000b00478d5b7e86bsi13937314pgv.539.2022.12.20.11.40.59; Tue, 20 Dec 2022 11:41:08 -0800 (PST) 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=QJyc1IbQ; 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 S234050AbiLTTPe (ORCPT + 68 others); Tue, 20 Dec 2022 14:15:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233993AbiLTTPb (ORCPT ); Tue, 20 Dec 2022 14:15:31 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 531C31D0FC; Tue, 20 Dec 2022 11:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671563728; x=1703099728; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2COOT5zaAK5+RIgGHKkO1Q1ITT88R4AqRmnRRum82sU=; b=QJyc1IbQUVxAUdXbNFjoDSz4tad0JdnXL/cJ1sRDWxgaFp2tIMPXJQdU CVKREdAt0JpOy6oS2/6R0nqiYjeIu1mxpbILB0X8KHKXdSX+j/cfTH5Iy WzffNAm4O0rs/0BM3XHsPlyrQAnYSToNoDIcNY7x2oOvTsqJy4PjV55rT aDH4C4HG0r9mZ7rKxoZC3GDY/MCN6I8WJNL56yz87VefFtgd4AVsAev1J G4kEcd/pnWTjZDv3KsilUTIHarhjVXdBBV9SyiusLwDR22jr4FeSG0I8H EzXg3AxXWrO/KjxuuGxb9y7mxXaDBDmMcPmQyMgpYpRE6nQgE6LQHfctq A==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="318391690" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="318391690" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 11:15:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="896582153" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="896582153" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga006.fm.intel.com with ESMTP; 20 Dec 2022 11:15:26 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p7i5F-00D99z-00; Tue, 20 Dec 2022 21:15:25 +0200 Date: Tue, 20 Dec 2022 21:15:24 +0200 From: Andy Shevchenko To: Dmitry Torokhov Cc: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] gpiolib: of: stop exporting of_gpio_named_count() Message-ID: References: <20221219192016.1396950-1-dmitry.torokhov@gmail.com> <20221219192016.1396950-2-dmitry.torokhov@gmail.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.3 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 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 Tue, Dec 20, 2022 at 10:27:28AM -0800, Dmitry Torokhov wrote: > On Tue, Dec 20, 2022 at 03:50:40PM +0200, Andy Shevchenko wrote: > > On Mon, Dec 19, 2022 at 11:20:13AM -0800, Dmitry Torokhov wrote: > > > The only user of this function is gpiolib-of.c so move it there. > > > > It's one liner used a single file, can we kill it completely? > > It is being called from a couple of places there and documents how > exactly we are counting GPIOs, so I would prefer to leave this helper as > is. Fair enough. However I think that even so it may be killed in the future. Reviewed-by: Andy Shevchenko -- With Best Regards, Andy Shevchenko