Coding style in acpi/scan.c

Pavel Machek (pavel@ucw.cz)
Mon, 10 Feb 2003 17:40:33 +0100


Hi!

This should fix whitespace, please apply,
Pavel

--- clean/drivers/acpi/scan.c 2003-01-17 23:09:34.000000000 +0100
+++ linux-swsusp/drivers/acpi/scan.c 2003-02-03 18:27:40.000000000 +0100
@@ -295,15 +295,15 @@
ACPI_FUNCTION_TRACE("acpi_driver_attach");

spin_lock(&acpi_device_lock);
- list_for_each_safe(node,next,&acpi_device_list) {
- struct acpi_device * dev = container_of(node,struct acpi_device,g_list);
+ list_for_each_safe(node, next, &acpi_device_list) {
+ struct acpi_device * dev = container_of(node, struct acpi_device, g_list);

if (dev->driver || !dev->status.present)
continue;
spin_unlock(&acpi_device_lock);

- if (!acpi_bus_match(dev,drv)) {
- if (!acpi_bus_driver_init(dev,drv)) {
+ if (!acpi_bus_match(dev, drv)) {
+ if (!acpi_bus_driver_init(dev, drv)) {
atomic_inc(&drv->references);
ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Found driver [%s] for device [%s]\n",
drv->name, dev->pnp.bus_id));

-- 
Worst form of spam? Adding advertisment signatures ala sourceforge.net.
What goes next? Inserting advertisment *into* email?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/