mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Coding style in acpi/scan.c
@ 2003-02-10 16:40 Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2003-02-10 16:40 UTC (permalink / raw)
  To: Andrew Grover, ACPI mailing list, kernel list

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-11 10:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-10 16:40 Coding style in acpi/scan.c Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®