lkml.org 
[lkml]   [2016]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH 12/30] ACPI-processor: Rename jump labels in acpi_processor_ppc_notifier()
From
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 6 Sep 2016 19:04:05 +0200

Adjust jump labels according to the current Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
drivers/acpi/processor_perflib.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 07e5e59..86256bd 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -90,18 +90,17 @@ static int acpi_processor_ppc_notifier(struct notifier_block *nb,

pr = per_cpu(processors, policy->cpu);
if (!pr || !pr->performance)
- goto out;
+ goto unlock;

ppc = (unsigned int)pr->performance_platform_limit;

if (ppc >= pr->performance->state_count)
- goto out;
+ goto unlock;

cpufreq_verify_within_limits(policy, 0,
pr->performance->states[ppc].
core_frequency * 1000);
-
- out:
+ unlock:
mutex_unlock(&performance_mutex);

return 0;
--
2.10.0
\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.173 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site