ACPI: acpi_bind_one()/acpi_unbind_one() whitespace cleanups
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 6 Aug 2013 23:19:52 +0000 (01:19 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 7 Aug 2013 21:41:47 +0000 (23:41 +0200)
Clean up some inconsistent use of whitespace in acpi_bind_one() and
acpi_unbind_one().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Toshi Kani <toshi.kani@hp.com>
Acked-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
drivers/acpi/glue.c

index 914a3460123160b6daafe9e097c138a8b33ea281..69641c061619df49226910fdb45126f887f3928a 100644 (file)
@@ -247,9 +247,9 @@ int acpi_bind_one(struct device *dev, acpi_handle handle)
 
        acpi_physnode_link_name(physical_node_name, node_id);
        retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj,
-                       physical_node_name);
+                                  physical_node_name);
        retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj,
-               "firmware_node");
+                                  "firmware_node");
 
        mutex_unlock(&acpi_dev->physical_node_lock);
 
@@ -293,12 +293,11 @@ int acpi_unbind_one(struct device *dev)
                char physical_node_name[PHYSICAL_NODE_NAME_SIZE];
 
                entry = list_entry(node, struct acpi_device_physical_node,
-                       node);
+                                  node);
                if (entry->dev != dev)
                        continue;
 
                list_del(node);
-
                acpi_dev->physical_node_count--;
 
                acpi_physnode_link_name(physical_node_name, entry->node_id);