From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: Jordan Crouse <jcrouse@codeaurora.org>
Cc: Georgi Djakov <georgi.djakov@linaro.org>,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH v1 2/2] interconnect: Remove unused module exit code from core
Date: Thu, 31 Oct 2019 11:32:33 -0700 [thread overview]
Message-ID: <20191031183233.GM1929@tuxbook-pro> (raw)
In-Reply-To: <1572546532-19248-3-git-send-email-jcrouse@codeaurora.org>
On Thu 31 Oct 11:28 PDT 2019, Jordan Crouse wrote:
> The interconnect core is currently always built in:
>
> menuconfig INTERCONNECT
> bool "On-Chip Interconnect management support"
>
> So remove the module_exit function and symbolically rename module_init
> to device_initcall to drive home the point.
>
> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>
> drivers/interconnect/core.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c
> index c498796..61aba50 100644
> --- a/drivers/interconnect/core.c
> +++ b/drivers/interconnect/core.c
> @@ -805,12 +805,7 @@ static int __init icc_init(void)
> return 0;
> }
>
> -static void __exit icc_exit(void)
> -{
> - debugfs_remove_recursive(icc_debugfs_dir);
> -}
> -module_init(icc_init);
> -module_exit(icc_exit);
> +device_initcall(icc_init);
>
> MODULE_AUTHOR("Georgi Djakov <georgi.djakov@linaro.org>");
> MODULE_DESCRIPTION("Interconnect Driver Core");
> --
> 2.7.4
>
prev parent reply other threads:[~2019-10-31 18:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-31 18:28 [PATCH v1 0/2] interconnect: Move qcom interconnect drivers to core_initcall Jordan Crouse
2019-10-31 18:28 ` [PATCH v1 1/2] interconnect: Move " Jordan Crouse
2019-10-31 18:30 ` Bjorn Andersson
2019-10-31 18:28 ` [PATCH v1 2/2] interconnect: Remove unused module exit code from core Jordan Crouse
2019-10-31 18:32 ` Bjorn Andersson [this message]
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=20191031183233.GM1929@tuxbook-pro \
--to=bjorn.andersson@linaro.org \
--cc=georgi.djakov@linaro.org \
--cc=jcrouse@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@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).