linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio@vger.kernel.org
Subject: [PATCH 01/19] pinctrl: freescale: remove needless module.h include
Date: Sat, 25 Jun 2016 22:46:34 -0400	[thread overview]
Message-ID: <20160626024652.5081-2-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <20160626024652.5081-1-paul.gortmaker@windriver.com>

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>
---
 drivers/pinctrl/freescale/pinctrl-imx.c       | 1 -
 drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/pinctrl/freescale/pinctrl-imx.c b/drivers/pinctrl/freescale/pinctrl-imx.c
index 491d2d244f56..71391757938b 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx.c
@@ -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>
diff --git a/drivers/pinctrl/freescale/pinctrl-imx1-core.c b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
index 38d39388d7a4..a4e9f430d452 100644
--- a/drivers/pinctrl/freescale/pinctrl-imx1-core.c
+++ b/drivers/pinctrl/freescale/pinctrl-imx1-core.c
@@ -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>
-- 
2.8.4


  reply	other threads:[~2016-06-26  2:47 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-26  2:46 [PATCH 00/19] pinctrl/freescale: fix module usage in non-modular code Paul Gortmaker
2016-06-26  2:46 ` Paul Gortmaker [this message]
2016-06-29  7:30   ` [PATCH 01/19] pinctrl: freescale: remove needless module.h include Linus Walleij
2016-06-26  2:46 ` [PATCH 02/19] pinctrl: imx1: make it explicitly non-modular Paul Gortmaker
2016-06-29  7:31   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 03/19] pinctrl: imx21: " Paul Gortmaker
2016-06-29  7:32   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 04/19] pinctrl: imx25: " Paul Gortmaker
2016-06-29  7:33   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 05/19] pinctrl: imx27: " Paul Gortmaker
2016-06-29  7:34   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 06/19] pinctrl: imx35: " Paul Gortmaker
2016-06-29  7:35   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 07/19] pinctrl: imx50: " Paul Gortmaker
2016-06-29  7:36   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 08/19] pinctrl: imx51: " Paul Gortmaker
2016-06-29  7:37   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 09/19] pinctrl: imx53: " Paul Gortmaker
2016-06-29  7:38   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 10/19] pinctrl: imx6dl: " Paul Gortmaker
2016-06-29  7:39   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 11/19] pinctrl: imx6q: " Paul Gortmaker
2016-06-29  7:49   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 12/19] pinctrl: imx6sl: " Paul Gortmaker
2016-06-29  7:50   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 13/19] pinctrl: imx6sx: " Paul Gortmaker
2016-06-29  7:51   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 14/19] pinctrl: imx6ul: " Paul Gortmaker
2016-06-29  7:52   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 15/19] pinctrl: imx7d: " Paul Gortmaker
2016-06-29  7:53   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 16/19] pinctrl: vf610: " Paul Gortmaker
2016-06-29  7:54   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 17/19] pinctrl: imx23: " Paul Gortmaker
2016-06-29  7:55   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 18/19] pinctrl: imx28: " Paul Gortmaker
2016-06-29  7:55   ` Linus Walleij
2016-06-26  2:46 ` [PATCH 19/19] pinctrl: remove orphaned exported ".remove" function Paul Gortmaker
2016-06-29  7:56   ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160626024652.5081-2-paul.gortmaker@windriver.com \
    --to=paul.gortmaker@windriver.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).