mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 23:04:35 +08:00
ACPI: processor_throttling: Fix several coding style issues
Drop one redundant return statement and fix a few white space issues. Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
69530b4347
commit
2ef53bf714
@ -195,8 +195,6 @@ void acpi_processor_throttling_init(void)
|
||||
{
|
||||
if (acpi_processor_update_tsd_coord())
|
||||
pr_debug("Assume no T-state coordination\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int acpi_processor_throttling_notifier(unsigned long event, void *data)
|
||||
@ -1185,8 +1183,7 @@ int acpi_processor_get_throttling_info(struct acpi_processor *pr)
|
||||
*/
|
||||
if (acpi_processor_get_throttling_control(pr) ||
|
||||
acpi_processor_get_throttling_states(pr) ||
|
||||
acpi_processor_get_platform_limit(pr))
|
||||
{
|
||||
acpi_processor_get_platform_limit(pr)) {
|
||||
pr->throttling.acpi_processor_get_throttling =
|
||||
&acpi_processor_get_throttling_fadt;
|
||||
pr->throttling.acpi_processor_set_throttling =
|
||||
|
Loading…
Reference in New Issue
Block a user