summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/freescale/pinctrl-mxs.h
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-06-26 04:46:52 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-06-29 09:56:28 +0200
commit11884b18ef0642e08f8a413e55c11d1cd6c62fee (patch)
tree7bb6d3a772e25aa73ae37d21c32185926df3458c /drivers/pinctrl/freescale/pinctrl-mxs.h
parentpinctrl: imx28: make it explicitly non-modular (diff)
downloadlinux-11884b18ef0642e08f8a413e55c11d1cd6c62fee.tar.xz
linux-11884b18ef0642e08f8a413e55c11d1cd6c62fee.zip
pinctrl: remove orphaned exported ".remove" function
The Kconfig currently controlling compilation of this code is: drivers/pinctrl/freescale/Kconfig:config PINCTRL_MXS drivers/pinctrl/freescale/Kconfig: bool ...meaning that it currently is not being built as a module by anyone. It also doesn't have any modular functionality, so it doesn't need module.h included at all. What it does have is an exported function that was used as a shared ".remove" by other drivers, but those use cases (imx23 and imx28) are now gone, and hence this can disappear as well. Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-gpio@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/freescale/pinctrl-mxs.h')
-rw-r--r--drivers/pinctrl/freescale/pinctrl-mxs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.h b/drivers/pinctrl/freescale/pinctrl-mxs.h
index fdd88d0bae22..34dbf75208dc 100644
--- a/drivers/pinctrl/freescale/pinctrl-mxs.h
+++ b/drivers/pinctrl/freescale/pinctrl-mxs.h
@@ -86,6 +86,5 @@ struct mxs_pinctrl_soc_data {
int mxs_pinctrl_probe(struct platform_device *pdev,
struct mxs_pinctrl_soc_data *soc);
-int mxs_pinctrl_remove(struct platform_device *pdev);
#endif /* __PINCTRL_MXS_H */