pinctrl: mxs: do not export mxs_pinctrl_probe
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 20 Sep 2018 15:42:21 +0000 (12:42 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 20 Sep 2018 22:45:14 +0000 (15:45 -0700)
No user of mxs_pinctrl_probe() can be built as a module, hence
exporting the symbol is not necessary. Drop EXPORT_SYMBOL_GPL.

Inspired by a patch from Stefan Agner for the tegra pinctrl driver.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-mxs.c

index a612e46..641b308 100644 (file)
@@ -556,4 +556,3 @@ err:
        iounmap(d->base);
        return ret;
 }
-EXPORT_SYMBOL_GPL(mxs_pinctrl_probe);