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:
@@ -584,7 +584,6 @@ acpi_bus_driver_init(struct acpi_device *device, struct acpi_driver *driver)
|
|||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
|
|
||||||
if (!device || !driver)
|
if (!device || !driver)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
@@ -1463,7 +1462,6 @@ acpi_bus_add(struct acpi_device **child,
|
|||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(acpi_bus_add);
|
EXPORT_SYMBOL(acpi_bus_add);
|
||||||
|
|
||||||
int acpi_bus_start(struct acpi_device *device)
|
int acpi_bus_start(struct acpi_device *device)
|
||||||
@@ -1483,7 +1481,6 @@ int acpi_bus_start(struct acpi_device *device)
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(acpi_bus_start);
|
EXPORT_SYMBOL(acpi_bus_start);
|
||||||
|
|
||||||
int acpi_bus_trim(struct acpi_device *start, int rmdevice)
|
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);
|
EXPORT_SYMBOL_GPL(acpi_bus_trim);
|
||||||
|
|
||||||
|
|
||||||
static int acpi_bus_scan_fixed(struct acpi_device *root)
|
static int acpi_bus_scan_fixed(struct acpi_device *root)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
Reference in New Issue
Block a user