瀏覽代碼

pinctrl: freescale: remove needless module.h include

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>
Paul Gortmaker 9 年之前
父節點
當前提交
7f8750ada0
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      drivers/pinctrl/freescale/pinctrl-imx.c
  2. 0 1
      drivers/pinctrl/freescale/pinctrl-imx1-core.c

+ 0 - 1
drivers/pinctrl/freescale/pinctrl-imx.c

@@ -16,7 +16,6 @@
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/io.h>
 #include <linux/mfd/syscon.h>
 #include <linux/mfd/syscon.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_device.h>
 #include <linux/of_address.h>
 #include <linux/of_address.h>

+ 0 - 1
drivers/pinctrl/freescale/pinctrl-imx1-core.c

@@ -19,7 +19,6 @@
 #include <linux/err.h>
 #include <linux/err.h>
 #include <linux/init.h>
 #include <linux/init.h>
 #include <linux/io.h>
 #include <linux/io.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/of_device.h>
 #include <linux/pinctrl/machine.h>
 #include <linux/pinctrl/machine.h>