Coding style in acpi/scan.c

From: Pavel Machek (pavel@ucw.cz)
Date: Mon Feb 10 2003 - 11:40:33 EST


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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:33 EST