mirror of https://gitee.com/openkylin/linux.git
ACPI: ibm-acpi: trivial Lindent cleanups
This patch just makes drives/acpi/ibm-acpi.c Lindent-clean, as requested by Len Brown. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
This commit is contained in:
parent
3dfd35cd21
commit
8d29726434
|
@ -584,8 +584,7 @@ static int wan_status(void)
|
|||
{
|
||||
int status;
|
||||
|
||||
if (!wan_supported ||
|
||||
!acpi_evalf(hkey_handle, &status, "GWAN", "d"))
|
||||
if (!wan_supported || !acpi_evalf(hkey_handle, &status, "GWAN", "d"))
|
||||
status = 0;
|
||||
|
||||
return status;
|
||||
|
@ -910,6 +909,7 @@ static int _sta(acpi_handle handle)
|
|||
|
||||
return status;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ACPI_IBM_DOCK
|
||||
#define dock_docked() (_sta(dock_handle) & 1)
|
||||
|
||||
|
|
Loading…
Reference in New Issue