pinctrl: freescale: remove needless module.h include
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2016 02:46:34 +0000 (22:46 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Jun 2016 07:30:10 +0000 (09:30 +0200)
None of these files have anything modular in them, so they
don't need to be bringing in module.h and all its dependencies.

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>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx1-core.c

index 0dddbb30dc9f9073734d9196f64d490e8008b50d..7ec31627b944d2e266095612ad28f55925d86f3c 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/mfd/syscon.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_address.h>
index 38d39388d7a4b11bd484374db824ccd0dc1933fe..a4e9f430d45269c45367cacc1010087971c5596b 100644 (file)
@@ -19,7 +19,6 @@
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/io.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/pinctrl/machine.h>