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 0dddbb3..7ec3162 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 38d3938..a4e9f43 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>