* [PATCH] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
@ 2016-08-16 20:38 SF Markus Elfring
2016-08-16 20:41 ` Julia Lawall
2016-08-16 20:47 ` [PATCH] " Rafael J. Wysocki
0 siblings, 2 replies; 6+ messages in thread
From: SF Markus Elfring @ 2016-08-16 20:38 UTC (permalink / raw)
To: linux-arm-kernel, linux-pm, Rafael J. Wysocki, Sudeep Holla,
Viresh Kumar
Cc: LKML, kernel-janitors, Julia Lawall
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 22:30:17 +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>
---
drivers/cpufreq/scpi-cpufreq.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c
index e8a7bf5..4a70d241 100644
--- a/drivers/cpufreq/scpi-cpufreq.c
+++ b/drivers/cpufreq/scpi-cpufreq.c
@@ -104,8 +104,7 @@ static int scpi_cpufreq_remove(struct platform_device *pdev)
static struct platform_driver scpi_cpufreq_platdrv = {
.driver = {
- .name = "scpi-cpufreq",
- .owner = THIS_MODULE,
+ .name = "scpi-cpufreq"
},
.probe = scpi_cpufreq_probe,
.remove = scpi_cpufreq_remove,
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
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-16 20:47 ` [PATCH] " Rafael J. Wysocki
1 sibling, 1 reply; 6+ messages in thread
From: Julia Lawall @ 2016-08-16 20:41 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-arm-kernel, linux-pm, Rafael J. Wysocki, Sudeep Holla,
Viresh Kumar, LKML, kernel-janitors, Julia Lawall
On Tue, 16 Aug 2016, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 22:30:17 +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>
> ---
> drivers/cpufreq/scpi-cpufreq.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c
> index e8a7bf5..4a70d241 100644
> --- a/drivers/cpufreq/scpi-cpufreq.c
> +++ b/drivers/cpufreq/scpi-cpufreq.c
> @@ -104,8 +104,7 @@ static int scpi_cpufreq_remove(struct platform_device *pdev)
>
> static struct platform_driver scpi_cpufreq_platdrv = {
> .driver = {
> - .name = "scpi-cpufreq",
> - .owner = THIS_MODULE,
> + .name = "scpi-cpufreq"
You don't need to remove the comma. There was a trailing comma
originally, so you may as well leave that.
julia
> },
> .probe = scpi_cpufreq_probe,
> .remove = scpi_cpufreq_remove,
> --
> 2.9.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
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-16 20:47 ` Rafael J. Wysocki
1 sibling, 0 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2016-08-16 20:47 UTC (permalink / raw)
To: SF Markus Elfring
Cc: linux-arm-kernel, linux-pm, Sudeep Holla, Viresh Kumar, LKML,
kernel-janitors, Julia Lawall
On Tuesday, August 16, 2016 10:38:02 PM SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 22:30:17 +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>
> ---
> drivers/cpufreq/scpi-cpufreq.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c
> index e8a7bf5..4a70d241 100644
> --- a/drivers/cpufreq/scpi-cpufreq.c
> +++ b/drivers/cpufreq/scpi-cpufreq.c
> @@ -104,8 +104,7 @@ static int scpi_cpufreq_remove(struct platform_device *pdev)
>
> static struct platform_driver scpi_cpufreq_platdrv = {
> .driver = {
> - .name = "scpi-cpufreq",
> - .owner = THIS_MODULE,
> + .name = "scpi-cpufreq"
Comma, please.
> },
> .probe = scpi_cpufreq_probe,
> .remove = scpi_cpufreq_remove,
>
Thanks.
Rafael
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
2016-08-16 20:41 ` Julia Lawall
@ 2016-08-17 6:21 ` SF Markus Elfring
2016-08-17 7:05 ` Viresh Kumar
2016-08-17 8:57 ` Sudeep Holla
0 siblings, 2 replies; 6+ messages in thread
From: SF Markus Elfring @ 2016-08-17 6:21 UTC (permalink / raw)
To: Julia Lawall, Rafael J. Wysocki, Sudeep Holla, Viresh Kumar,
linux-pm, linux-arm-kernel
Cc: linux-kernel, kernel-janitors
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,
--
2.9.3
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
2016-08-17 6:21 ` [PATCH v2] " SF Markus Elfring
@ 2016-08-17 7:05 ` Viresh Kumar
2016-08-17 8:57 ` Sudeep Holla
1 sibling, 0 replies; 6+ messages in thread
From: Viresh Kumar @ 2016-08-17 7:05 UTC (permalink / raw)
To: SF Markus Elfring
Cc: Julia Lawall, Rafael J. Wysocki, Sudeep Holla, linux-pm,
linux-arm-kernel, linux-kernel, kernel-janitors
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2] cpufreq-SCPI: Delete unnecessary assignment for the field "owner"
2016-08-17 6:21 ` [PATCH v2] " SF Markus Elfring
2016-08-17 7:05 ` Viresh Kumar
@ 2016-08-17 8:57 ` Sudeep Holla
1 sibling, 0 replies; 6+ messages in thread
From: Sudeep Holla @ 2016-08-17 8:57 UTC (permalink / raw)
To: SF Markus Elfring, Julia Lawall, Rafael J. Wysocki, Viresh Kumar,
linux-pm, linux-arm-kernel
Cc: Sudeep Holla, linux-kernel, kernel-janitors
On 17/08/16 07: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>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
--
Regards,
Sudeep
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-17 8:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-08-17 8:57 ` Sudeep Holla
2016-08-16 20:47 ` [PATCH] " Rafael J. Wysocki
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).