From: Viresh Kumar <viresh.kumar@linaro.org>
To: SF Markus Elfring <elfring@users.sourceforge.net>
Cc: Julia Lawall <julia.lawall@lip6.fr>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Sudeep Holla <sudeep.holla@arm.com>,
linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
Date: Wed, 17 Aug 2016 12:35:49 +0530 [thread overview]
Message-ID: <20160817070549.GT21099@ubuntu> (raw)
In-Reply-To: <d1908516-3e0f-4119-93bd-2987d7eee25f@users.sourceforge.net>
On 17-08-16, 08:21, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 23:00:07 +0200
>
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
>
> v2: A trailing comma was preserved even for a single designated initializer.
>
> drivers/cpufreq/scpi-cpufreq.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c
> index e8a7bf5..ea7a4e1 100644
> --- a/drivers/cpufreq/scpi-cpufreq.c
> +++ b/drivers/cpufreq/scpi-cpufreq.c
> @@ -105,7 +105,6 @@ static int scpi_cpufreq_remove(struct platform_device *pdev)
> static struct platform_driver scpi_cpufreq_platdrv = {
> .driver = {
> .name = "scpi-cpufreq",
> - .owner = THIS_MODULE,
> },
> .probe = scpi_cpufreq_probe,
> .remove = scpi_cpufreq_remove,
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
--
viresh
next prev parent reply other threads:[~2016-08-17 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-16 20:38 [PATCH] cpufreq-SCPI: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-16 20:41 ` Julia Lawall
2016-08-17 6:21 ` [PATCH v2] " SF Markus Elfring
2016-08-17 7:05 ` Viresh Kumar [this message]
2016-08-17 8:57 ` Sudeep Holla
2016-08-16 20:47 ` [PATCH] " Rafael J. Wysocki
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=20160817070549.GT21099@ubuntu \
--to=viresh.kumar@linaro.org \
--cc=elfring@users.sourceforge.net \
--cc=julia.lawall@lip6.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=sudeep.holla@arm.com \
/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