ACPI: clean up whitespace in drivers/acpi/scan.c
Align labels in column 0, adjust spacing in 'if' statements, eliminate trailing and superfluous whitespaces. Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
8b12b922ed
commit
0c526d96a5
1 changed files with 20 additions and 24 deletions
|
@ -584,7 +584,6 @@ acpi_bus_driver_init(struct acpi_device *device, struct acpi_driver *driver)
|
|||
{
|
||||
int result = 0;
|
||||
|
||||
|
||||
if (!device || !driver)
|
||||
return -EINVAL;
|
||||
|
||||
|
@ -1463,7 +1462,6 @@ acpi_bus_add(struct acpi_device **child,
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(acpi_bus_add);
|
||||
|
||||
int acpi_bus_start(struct acpi_device *device)
|
||||
|
@ -1483,7 +1481,6 @@ int acpi_bus_start(struct acpi_device *device)
|
|||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(acpi_bus_start);
|
||||
|
||||
int acpi_bus_trim(struct acpi_device *start, int rmdevice)
|
||||
|
@ -1541,7 +1538,6 @@ int acpi_bus_trim(struct acpi_device *start, int rmdevice)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(acpi_bus_trim);
|
||||
|
||||
|
||||
static int acpi_bus_scan_fixed(struct acpi_device *root)
|
||||
{
|
||||
int result = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue