From: Viresh Kumar <viresh.kumar@linaro.org>
To: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: linux-kernel@vger.kernel.org, Viresh Kumar <vireshk@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
spear-devel@list.st.com, linux-gpio@vger.kernel.org
Subject: Re: [PATCH 2/3] pinctrl: spear: make bool drivers explicitly non-modular
Date: Tue, 7 Feb 2017 09:42:49 +0530 [thread overview]
Message-ID: <20170207041249.GL3131@vireshk-i7> (raw)
In-Reply-To: <20170206080352.17808-3-paul.gortmaker@windriver.com>
On 06-02-17, 03:03, Paul Gortmaker wrote:
> None of the Kconfigs for any of these drivers are tristate,
> meaning that they currently are not being built as a module by anyone.
>
> Lets remove the modular code that is essentially orphaned, so that
> when reading the drivers there is no doubt they are builtin-only. All
> drivers get the exact same change, so they are handled in batch.
>
> Changes are (1) use init.h header in place of module.h header,
> (2) delete module_exit related code, (3) delete MODULE_DEVICE_TABLE,
> and (4) delete MODULE_LICENCE/MODULE_AUTHOR and associated tags.
>
> None of these drivers were using module_init() so we don't have to
> worry about the init ordering getting changed with this commit.
>
> Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.
>
> We also delete the MODULE_LICENSE etc. tags since all that information
> is already contained at the top of each file in the comments.
>
> Cc: Viresh Kumar <vireshk@kernel.org>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: spear-devel@list.st.com
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> ---
> drivers/pinctrl/spear/pinctrl-plgpio.c | 7 +------
> drivers/pinctrl/spear/pinctrl-spear1310.c | 12 ------------
> drivers/pinctrl/spear/pinctrl-spear1340.c | 12 ------------
> drivers/pinctrl/spear/pinctrl-spear300.c | 12 ------------
> drivers/pinctrl/spear/pinctrl-spear310.c | 12 ------------
> drivers/pinctrl/spear/pinctrl-spear320.c | 12 ------------
> 6 files changed, 1 insertion(+), 66 deletions(-)
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
next prev parent reply other threads:[~2017-02-07 4:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-06 8:03 [PATCH 0/3] pinctrl: berlin/mvebu/spear: make bool code non-modular Paul Gortmaker
2017-02-06 8:03 ` [PATCH 1/3] pinctrl: mvebu: make bool drivers explicitly non-modular Paul Gortmaker
2017-02-13 13:22 ` Linus Walleij
2017-02-06 8:03 ` [PATCH 2/3] pinctrl: spear: " Paul Gortmaker
2017-02-07 4:12 ` Viresh Kumar [this message]
2017-02-13 13:24 ` Linus Walleij
2017-02-06 8:03 ` [PATCH 3/3] pinctrl: berlin: " Paul Gortmaker
2017-02-07 11:19 ` Jisheng Zhang
2017-02-13 13:25 ` 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=20170207041249.GL3131@vireshk-i7 \
--to=viresh.kumar@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=spear-devel@list.st.com \
--cc=vireshk@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).