Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12e704db authored by bert hubert's avatar bert hubert Committed by Dave Jones
Browse files

[CPUFREQ] Propagate acpi_processor_preregister_performance return value.



Note how any error from acpi_processor_preregister_performance is ignored.

From: bert hubert <bert.hubert@netherlabs.nl>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent ea714970
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -384,8 +384,7 @@ static int acpi_cpufreq_early_init_acpi(void)
	}
	}


	/* Do initialization in ACPI core */
	/* Do initialization in ACPI core */
	acpi_processor_preregister_performance(acpi_perf_data);
	return acpi_processor_preregister_performance(acpi_perf_data);
	return 0;
}
}


static int
static int