Messages in this thread Patch in this message | | | Subject | [PATCH 12/30] ACPI-processor: Rename jump labels in acpi_processor_ppc_notifier() | From | SF Markus Elfring <> | Date | Sat, 10 Sep 2016 11:54:20 +0200 |
| |
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
| |