Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3393206rwe; Mon, 29 Aug 2022 10:46:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR7oZZrKe4h/YWVumg7WH40V1GhsYBqYpBRY8Cy+Kf++GvF46CXToIcCUzvsAc/1mkVaPA4h X-Received: by 2002:a17:902:b094:b0:173:12d1:4ece with SMTP id p20-20020a170902b09400b0017312d14ecemr17695288plr.117.1661795186488; Mon, 29 Aug 2022 10:46:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661795186; cv=none; d=google.com; s=arc-20160816; b=aaP5J0gDpTHhqkiW/VdFBLAmDXGw8yWuom4ynUEAB7lUzTefMW2e2/BfFg1wNfaGDQ yy2XMsGOlT7FetJfajOJHa1wWvmvfkGb4O54rO5gH4uF7gWjrIg8u2MkAlby/UvEOGxF jk6PMZvqAdRD3RpccSHqMgVbbCKf4btIt8wRMWnDs6txY0Ls2hAMVggx2BHqLoFBpCyU adYqu7LkIZGzXh0Qe1ypljAowRrUT0PDTBTs1E9mNsZ8CHpPhpdTkTPoHq2VFzjYLxtf UpKkKc3Kq7bQbrmgfkeBK5XRfZV4AsT5e+JntSj2GhBHgOZP8w3b8ZhgP0XhceW8X7io sAvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=QXAdweUo5Cgc1bR6rqICHMpDFCOsPVa0U/GpWABbbog=; b=UBCGo65PzA79HpAxDL8XgRTxxNqV3820SN9iuqXmE/6ZdBCVTCaZCyFNSUW4AmTlIS AFneg43M7G+8sRT0On1xO+4APztYIdW/hdArGB8x79b4p6Fqhs/dmfri9/d1SWZfdSps irlHm+UxIym8868qDTJkszU9i3klk1gislipQIuzWJH3xomwRULNzUYYFTrxvSLmTDSR q7pWP4ZMd4qe2T83NI5pNonTtcCjmPnDljiw2uSVwn0WnRAH4PCHjH3yK2B5GkVo0e7s GDVDSCruPD6lhX8g+31Uabqnv8CfXsdTUn6JrnCP4XNDTyWWGdXg8AA/rgNY2pL8Ioj0 KbVQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pv4-20020a17090b3c8400b001faa7b96ca0si9588015pjb.13.2022.08.29.10.46.15; Mon, 29 Aug 2022 10:46:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230388AbiH2QRY (ORCPT + 99 others); Mon, 29 Aug 2022 12:17:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbiH2QQs (ORCPT ); Mon, 29 Aug 2022 12:16:48 -0400 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17500985BD; Mon, 29 Aug 2022 09:16:29 -0700 (PDT) Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4MGbCN0lFsz9spX; Mon, 29 Aug 2022 18:16:00 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id urKz4fLWFaye; Mon, 29 Aug 2022 18:16:00 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4MGbCK3kVYz9spT; Mon, 29 Aug 2022 18:15:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 66E3B8B776; Mon, 29 Aug 2022 18:15:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id z8RIyjpSPjfA; Mon, 29 Aug 2022 18:15:52 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (unknown [172.25.230.108]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0D6868B770; Mon, 29 Aug 2022 18:15:52 +0200 (CEST) Received: from PO20335.IDSI0.si.c-s.fr (localhost [127.0.0.1]) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.16.1) with ESMTPS id 27TGFmN0988634 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 29 Aug 2022 18:15:48 +0200 Received: (from chleroy@localhost) by PO20335.IDSI0.si.c-s.fr (8.17.1/8.17.1/Submit) id 27TGFmZk988633; Mon, 29 Aug 2022 18:15:48 +0200 X-Authentication-Warning: PO20335.IDSI0.si.c-s.fr: chleroy set sender to christophe.leroy@csgroup.eu using -f From: Christophe Leroy To: Linus Walleij , Bartosz Golaszewski , Geert Uytterhoeven , Keerthy , Russell King , Arnd Bergmann , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Catalin Marinas , Will Deacon Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org Subject: [PATCH v1 5/8] Documentation: gpio: Remove text about ARCH_NR_GPIOS Date: Mon, 29 Aug 2022 18:15:07 +0200 Message-Id: X-Mailer: git-send-email 2.37.1 In-Reply-To: References: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1661789704; l=1417; s=20211009; h=from:subject:message-id; bh=zlMFz7Ikp5uNHPeHN9zI8vyXZjlKiXLyAd53uhcgXjo=; b=SdKOqgLtoGtJOUNuZ2GOpaqrMtK2IAX/He/VVNWdYgG93Jo95Rx2D3L4ZJsiYI7ws2XbPLOHXkbW LlGg3sLDAFQybDWdkBgzRUe+iYAkcUZyfWaQEQVObnRueY+obm1F X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 ARCH_NR_GPIOS have been removed, clean up the documentation. After this patch, the only place when ARCH_NR_GPIOS remains is in translations/zh_CN/gpio.txt and translations/zh_TW/gpio.txt. I don't have the skills to update that, anyway those two files are already out of sync as they are still mentionning ARCH_REQUIRE_GPIOLIB which was removed by commit 65053e1a7743 ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB") Signed-off-by: Christophe Leroy --- Documentation/driver-api/gpio/legacy.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/driver-api/gpio/legacy.rst b/Documentation/driver-api/gpio/legacy.rst index 9b12eeb89170..e17910cc3271 100644 --- a/Documentation/driver-api/gpio/legacy.rst +++ b/Documentation/driver-api/gpio/legacy.rst @@ -558,11 +558,6 @@ Platform Support To force-enable this framework, a platform's Kconfig will "select" GPIOLIB, else it is up to the user to configure support for GPIO. -It may also provide a custom value for ARCH_NR_GPIOS, so that it better -reflects the number of GPIOs in actual use on that platform, without -wasting static table space. (It should count both built-in/SoC GPIOs and -also ones on GPIO expanders. - If neither of these options are selected, the platform does not support GPIOs through GPIO-lib and the code cannot be enabled by the user. -- 2.37.1