Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4492043rwj; Tue, 20 Dec 2022 10:48:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf5QeUgpdtP4EzW226G4rsznn0t3FC3CibqOLvuRQSj8YoIwZAiwWqoQKJMEUkLtGwfdXOje X-Received: by 2002:a17:90b:104b:b0:219:fe29:ad9d with SMTP id gq11-20020a17090b104b00b00219fe29ad9dmr50646802pjb.25.1671562131430; Tue, 20 Dec 2022 10:48:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671562131; cv=none; d=google.com; s=arc-20160816; b=gE8mWrKqjdRDy6Y3RiLS/LkfDyidvc4hR2yt+kLMHkhUBrhbZL7UDxfP6CP7PB1B/V RHzOwSPZ5mND8sja12m71qOYiXDJh4oZa0u+ZKYtfokDm9/qYEl+nL7Lt6X89GZdzbbY HIEVrMOK7oqDUwp2Ge6gkxgjunp+G/kdLSjKDrJa9ClWudRiyC1l0bunI5BxjjjkCroq hL3es7Wc56TBV1lptcPd0fGQSnnoT6AQr2Roez2iSirSm1wPn92pQmYHCQMuaoTrAwQg hfJHSZ6fbm9PoFgz9RjeTNqoMRRdZZ4iEKAdf6hMffeGQUw+/MHrPm5bcIDER/Ws7g30 /DOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ue71Sm65axNrCgD942I0Cs8ltFCR+b4KhQL9sG46Wuc=; b=UtA8CkC/zUGhQ7zsTB0DgUFrCcWO1CFyT2N8RcmeA3X075bWJk1slmxDOItm+ClR81 JYyQp9pPvHyIxOU7WDA6EcfMFZ9tiNsy8xqkmLcmlIKf0ZdtJIuvRU30wm1Uio+bLAZv eKAKUR3/dpZ8vPl1mvyL5T05C1FCZ8MV+iHhZOiLoTOQPboYnoP+WIvz5cMsXixAtcmS ETFa2N0BjJOtcP+om3UdamWjg1/AymqCEz7EkqcQT1VqSSmeOkszYg7u+iZuLRQFxPjp 4/CW/f1FxeXOhQXdMe5+D64TQEBgftlrOBa0nudE/00WV8xHqge1F5tNGI6PQlvdEwuF cBpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eNPQkGHH; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id co21-20020a17090afe9500b00219b9479155si18838279pjb.187.2022.12.20.10.48.42; Tue, 20 Dec 2022 10:48:51 -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=@gmail.com header.s=20210112 header.b=eNPQkGHH; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233977AbiLTS1o (ORCPT + 69 others); Tue, 20 Dec 2022 13:27:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234005AbiLTS1e (ORCPT ); Tue, 20 Dec 2022 13:27:34 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B911DA77; Tue, 20 Dec 2022 10:27:33 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id t11-20020a17090a024b00b0021932afece4so17334908pje.5; Tue, 20 Dec 2022 10:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ue71Sm65axNrCgD942I0Cs8ltFCR+b4KhQL9sG46Wuc=; b=eNPQkGHHS40PEuqaFz0jy8oj0l0rtkJQ3VMkBrT3Ms+QkeIvbjNJcHDj2vUxOtgors KpLNEQlAk/GfjiCr8GjdidTJVtGPfZczIGWbmzlzTREtyiT3xe4sMfstbP1p8p5mtAle rq7grfkIHkXQjsReZYeIvkGOgPnbmMQLorjDnTA339B4aH1guCtlo7hJSqzLAtag3Lq/ MK5mwyGfyUi8sZ/ki1iMeN7oS6ODBKET8BiGB1dFHnsBtfbQTpNrV9xgOGSdIY8RhZHH 5ILRPemnJMQpyebfPkL6VyUi7UW9C/AP2xKqAfJKv2qnfBotlFCTE98ojOuBs6jTGxA/ EFwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ue71Sm65axNrCgD942I0Cs8ltFCR+b4KhQL9sG46Wuc=; b=cBgPEuBCNK97EFc5Tn9VVUQg7SBHTz4WqOQdRMPm3r5mnE3wiFL78Fx9qX4xyOIVKy PTyythi9fYwadbeuGrQ3pVJcheUQ2MG/EvsDtIcSIdFi3xkpMuUclSN37HdLBKvSZYvg iB4B8kirO9L9FulakgVqGw6v8YEEsKnkQBed8348KYlsJfKpvTTVTPXlmYaK1GIj0kti /aCvkPGQ3ince5V9pEewXNWhvbBL6jcNL+5oFlfdwBkDNb7cgysUs0AYgeqbPjmuw/ES 8qqFutjpl03W2k2Nv17rY5FcvvkmWO3ZsfprHHnIrKrvkDjyoSY6y0HwRHnQTuMj8tZd mf9Q== X-Gm-Message-State: ANoB5pk/ik8IwssU99j+QQMXurTUWjKjnnK0xWNWBiCUO+zLAHdmMSjc Qby+9UHWXB03H6d+/pQIkMQ= X-Received: by 2002:a05:6a20:4414:b0:af:7b32:4deb with SMTP id ce20-20020a056a20441400b000af7b324debmr42901341pzb.4.1671560852341; Tue, 20 Dec 2022 10:27:32 -0800 (PST) Received: from google.com ([2620:15c:9d:2:7206:404e:4820:d175]) by smtp.gmail.com with ESMTPSA id p8-20020a170902e74800b0018f6900a183sm9737384plf.140.2022.12.20.10.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 10:27:31 -0800 (PST) Date: Tue, 20 Dec 2022 10:27:28 -0800 From: Dmitry Torokhov To: Andy Shevchenko 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: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 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. Thanks. -- Dmitry