[1/2] pinctrl: tegra: do not export tegra_pinctrl_probe
diff mbox series

Message ID 20180919012427.12439-1-stefan@agner.ch
State New
Headers show
Series
  • [1/2] pinctrl: tegra: do not export tegra_pinctrl_probe
Related show

Commit Message

Stefan Agner Sept. 19, 2018, 1:24 a.m. UTC
No user of tegra_pinctrl_probe can be built as a module, hence
exporting the symbol is not necessary. Drop EXPORT_SYMBOL_GPL.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 drivers/pinctrl/tegra/pinctrl-tegra.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Sept. 20, 2018, 3:15 p.m. UTC | #1
On Tue, Sep 18, 2018 at 6:24 PM Stefan Agner <stefan@agner.ch> wrote:

> No user of tegra_pinctrl_probe can be built as a module, hence
> exporting the symbol is not necessary. Drop EXPORT_SYMBOL_GPL.
>
> Signed-off-by: Stefan Agner <stefan@agner.ch>

Patch applied.

Yours,
Linus Walleij

Patch
diff mbox series

diff --git a/drivers/pinctrl/tegra/pinctrl-tegra.c b/drivers/pinctrl/tegra/pinctrl-tegra.c
index 1aba75897d147..a5008c066bac2 100644
--- a/drivers/pinctrl/tegra/pinctrl-tegra.c
+++ b/drivers/pinctrl/tegra/pinctrl-tegra.c
@@ -737,4 +737,3 @@  int tegra_pinctrl_probe(struct platform_device *pdev,
 
 	return 0;
 }
-EXPORT_SYMBOL_GPL(tegra_pinctrl_probe);