mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
cpufreq: intel_pstate: Align multiple lines to open parenthesis
Suppress checkpatch.pl --strict warnings: CHECK: Alignment should match open parenthesis Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
abf013bffe
commit
c410833a3c
@ -921,14 +921,14 @@ static bool intel_pstate_platform_pwr_mgmt_exists(void)
|
|||||||
struct acpi_table_header hdr;
|
struct acpi_table_header hdr;
|
||||||
struct hw_vendor_info *v_info;
|
struct hw_vendor_info *v_info;
|
||||||
|
|
||||||
if (acpi_disabled
|
if (acpi_disabled ||
|
||||||
|| ACPI_FAILURE(acpi_get_table_header(ACPI_SIG_FADT, 0, &hdr)))
|
ACPI_FAILURE(acpi_get_table_header(ACPI_SIG_FADT, 0, &hdr)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (v_info = vendor_info; v_info->valid; v_info++) {
|
for (v_info = vendor_info; v_info->valid; v_info++) {
|
||||||
if (!strncmp(hdr.oem_id, v_info->oem_id, ACPI_OEM_ID_SIZE)
|
if (!strncmp(hdr.oem_id, v_info->oem_id, ACPI_OEM_ID_SIZE) &&
|
||||||
&& !strncmp(hdr.oem_table_id, v_info->oem_table_id, ACPI_OEM_TABLE_ID_SIZE)
|
!strncmp(hdr.oem_table_id, v_info->oem_table_id, ACPI_OEM_TABLE_ID_SIZE) &&
|
||||||
&& intel_pstate_no_acpi_pss())
|
intel_pstate_no_acpi_pss())
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user