linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] cpufreq: do some cleanup
@ 2019-02-16 15:55 Yangtao Li
  2019-02-16 15:55 ` [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon Yangtao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yangtao Li @ 2019-02-16 15:55 UTC (permalink / raw)
  To: rjw, viresh.kumar; +Cc: linux-pm, linux-kernel, Yangtao Li

The informations come from the coccinelle tool.

drivers/cpufreq/longhaul.c:854:2-3: Unneeded semicolon
drivers/cpufreq/pcc-cpufreq.c:271:2-3: Unneeded semicolon

Yangtao Li (2):
  cpufreq: pcc-cpufreq: remove unneeded semicolon
  cpufreq: longhaul: remove unneeded semicolon

 drivers/cpufreq/longhaul.c    | 2 +-
 drivers/cpufreq/pcc-cpufreq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.17.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon
  2019-02-16 15:55 [PATCH 0/2] cpufreq: do some cleanup Yangtao Li
@ 2019-02-16 15:55 ` Yangtao Li
  2019-02-16 15:55 ` [PATCH 2/2] cpufreq: longhaul: " Yangtao Li
  2019-02-18  5:00 ` [PATCH 0/2] cpufreq: do some cleanup Viresh Kumar
  2 siblings, 0 replies; 4+ messages in thread
From: Yangtao Li @ 2019-02-16 15:55 UTC (permalink / raw)
  To: rjw, viresh.kumar; +Cc: linux-pm, linux-kernel, Yangtao Li

The semicolon is unneeded, so remove it.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/cpufreq/pcc-cpufreq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c
index 099a849396f6..1e5e64643c3a 100644
--- a/drivers/cpufreq/pcc-cpufreq.c
+++ b/drivers/cpufreq/pcc-cpufreq.c
@@ -268,7 +268,7 @@ static int pcc_get_offset(int cpu)
 	if (!pccp || pccp->type != ACPI_TYPE_PACKAGE) {
 		ret = -ENODEV;
 		goto out_free;
-	};
+	}
 
 	offset = &(pccp->package.elements[0]);
 	if (!offset || offset->type != ACPI_TYPE_INTEGER) {
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] cpufreq: longhaul: remove unneeded semicolon
  2019-02-16 15:55 [PATCH 0/2] cpufreq: do some cleanup Yangtao Li
  2019-02-16 15:55 ` [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon Yangtao Li
@ 2019-02-16 15:55 ` Yangtao Li
  2019-02-18  5:00 ` [PATCH 0/2] cpufreq: do some cleanup Viresh Kumar
  2 siblings, 0 replies; 4+ messages in thread
From: Yangtao Li @ 2019-02-16 15:55 UTC (permalink / raw)
  To: rjw, viresh.kumar; +Cc: linux-pm, linux-kernel, Yangtao Li

The semicolon is unneeded, so remove it.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 drivers/cpufreq/longhaul.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c
index 279bd9e9fa95..fb546e0d0356 100644
--- a/drivers/cpufreq/longhaul.c
+++ b/drivers/cpufreq/longhaul.c
@@ -851,7 +851,7 @@ static int longhaul_cpu_init(struct cpufreq_policy *policy)
 	case TYPE_POWERSAVER:
 		pr_cont("Powersaver supported\n");
 		break;
-	};
+	}
 
 	/* Doesn't hurt */
 	longhaul_setup_southbridge();
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] cpufreq: do some cleanup
  2019-02-16 15:55 [PATCH 0/2] cpufreq: do some cleanup Yangtao Li
  2019-02-16 15:55 ` [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon Yangtao Li
  2019-02-16 15:55 ` [PATCH 2/2] cpufreq: longhaul: " Yangtao Li
@ 2019-02-18  5:00 ` Viresh Kumar
  2 siblings, 0 replies; 4+ messages in thread
From: Viresh Kumar @ 2019-02-18  5:00 UTC (permalink / raw)
  To: Yangtao Li; +Cc: rjw, linux-pm, linux-kernel

On 16-02-19, 10:55, Yangtao Li wrote:
> The informations come from the coccinelle tool.
> 
> drivers/cpufreq/longhaul.c:854:2-3: Unneeded semicolon
> drivers/cpufreq/pcc-cpufreq.c:271:2-3: Unneeded semicolon
> 
> Yangtao Li (2):
>   cpufreq: pcc-cpufreq: remove unneeded semicolon
>   cpufreq: longhaul: remove unneeded semicolon
> 
>  drivers/cpufreq/longhaul.c    | 2 +-
>  drivers/cpufreq/pcc-cpufreq.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

-- 
viresh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-18  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-16 15:55 [PATCH 0/2] cpufreq: do some cleanup Yangtao Li
2019-02-16 15:55 ` [PATCH 1/2] cpufreq: pcc-cpufreq: remove unneeded semicolon Yangtao Li
2019-02-16 15:55 ` [PATCH 2/2] cpufreq: longhaul: " Yangtao Li
2019-02-18  5:00 ` [PATCH 0/2] cpufreq: do some cleanup Viresh Kumar

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).