Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp580223ybe; Fri, 6 Sep 2019 04:12:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxSlJn4dajZP7uNfRD03E4zeTb/7TrpcmU681DM1PJld5yzqUliNXPkMvI7q5YwlZ7C2hMj X-Received: by 2002:a17:902:a983:: with SMTP id bh3mr8492837plb.311.1567768363315; Fri, 06 Sep 2019 04:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567768363; cv=none; d=google.com; s=arc-20160816; b=KiqM+xaS/WvsdtFT4qF9zTLmTCaRPvSARgSURDybKsaxe1yyUzxzv2FMHXFyAAPw2B dBE3P1hxFvIeq1mKJrtCYK0qM9M398RgHVwtLMrLh5eJwDZyR5r6TMDkzvXyrGIeKCa/ 4pFtpu4kluf0zDw5xTqVvxyHDsWzhFVY55aw646g/Kia9otNyQEDnocfmHjkTk+ExKJS HtgDyk7oWchzrLg2XEgkc7FqUddZof7eN37i9ofF+MM61gYfKqYGsOSrAFeX3QDGRPUt PaAMKtJiw291zwzxb9AzCdEN1+mlQ93D2v/fakR5EqN2lyb0cxhz+LwUrhFNADBl48TQ LNyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=mPSmU9lgGtU/2DKvyzxd8oNA8qQGDXf4+eUlHjgy/Rw=; b=U2Dcvs3yI1I80LV0ekFziCm3doP+OKMSh7GQigzAyg1BWdKPNM8Z891jCNFuBAcK5T NrcIvPdwO0cAxEs/MlExp84xKUbF0TYvOYHCuiGVCbs0+33L9JAFZj90fF3D/UtQ+SXn mXAAKZmcUVpNkMolLY0PR7u8L0LkFZtxRukzeC+lYk1/7OdUrzfMfsNh2fxD/vxCj0qu hEIKZYlVk4OyZHi2o2hXKHjl538m2XjIXGksLLRJntiuKo9SsJX5P+JOJJEefBlgHjc+ VdaEPafz4muB4k+MD399TiDio1lnf1VulkKx6M2D+TSBfTMn6o2pKgyGTElYrwdFjyVn qI8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12si4415982pjr.16.2019.09.06.04.12.27; Fri, 06 Sep 2019 04:12:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392691AbfIFIqB (ORCPT + 99 others); Fri, 6 Sep 2019 04:46:01 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:33688 "EHLO baptiste.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391700AbfIFIpo (ORCPT ); Fri, 6 Sep 2019 04:45:44 -0400 Received: from ramsan ([84.194.98.4]) by baptiste.telenet-ops.be with bizsmtp id y8lg2000x05gfCL018lhml; Fri, 06 Sep 2019 10:45:42 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1i69sC-0003Mz-T2; Fri, 06 Sep 2019 10:45:40 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1i69sC-0005h1-QK; Fri, 06 Sep 2019 10:45:40 +0200 From: Geert Uytterhoeven To: Linus Walleij , Bartosz Golaszewski Cc: Rob Herring , Frank Rowand , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/4] gpio: API boundary cleanups Date: Fri, 6 Sep 2019 10:45:35 +0200 Message-Id: <20190906084539.21838-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Bartosz, This patch series contains various API boundary cleanups for gpiolib: - The first two patches make two functions private, - The last two patches switch the remaining gpiolib exported functions from EXPORT_SYMBOL() to EXPORT_SYMBOL_GPL(). After this there is only a single GPIO driver function exported with EXPORT_SYMBOL(); drivers/gpio/gpio-htc-egpio.c:EXPORT_SYMBOL(htc_egpio_get_wakeup_irq); I believe this symbol was never used upstream, and may be a relic of the original out-of-tree code the htc-egpio was based on. I don't know if there (still) exist out-of-tree users of the symbol. Thanks for your comments! Geert Uytterhoeven (4): gpio: of: Make of_get_named_gpiod_flags() private gpio: of: Make of_gpio_simple_xlate() private gpio: of: Switch to EXPORT_SYMBOL_GPL() gpio: devres: Switch to EXPORT_SYMBOL_GPL() drivers/gpio/gpiolib-devres.c | 28 ++++++++++++++-------------- drivers/gpio/gpiolib-of.c | 16 ++++++++-------- drivers/gpio/gpiolib-of.h | 7 ------- include/linux/of_gpio.h | 11 ----------- 4 files changed, 22 insertions(+), 40 deletions(-) -- 2.17.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds