aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/glue.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-06 19:19:52 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-07 17:41:47 -0400
commitf501b6ec290f59b9c444bc061acf0e422347fb55 (patch)
tree70fc7069684561096a3f10ccea7a2ecde7d69350 /drivers/acpi/glue.c
parent4005520648c7d6cf28e74addb52bc4a793eea3eb (diff)
ACPI: acpi_bind_one()/acpi_unbind_one() whitespace cleanups
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>
Diffstat (limited to 'drivers/acpi/glue.c')
-rw-r--r--drivers/acpi/glue.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 914a34601231..69641c061619 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -247,9 +247,9 @@ int acpi_bind_one(struct device *dev, acpi_handle handle)
247 247
248 acpi_physnode_link_name(physical_node_name, node_id); 248 acpi_physnode_link_name(physical_node_name, node_id);
249 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj, 249 retval = sysfs_create_link(&acpi_dev->dev.kobj, &dev->kobj,
250 physical_node_name); 250 physical_node_name);
251 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, 251 retval = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj,
252 "firmware_node"); 252 "firmware_node");
253 253
254 mutex_unlock(&acpi_dev->physical_node_lock); 254 mutex_unlock(&acpi_dev->physical_node_lock);
255 255
@@ -293,12 +293,11 @@ int acpi_unbind_one(struct device *dev)
293 char physical_node_name[PHYSICAL_NODE_NAME_SIZE]; 293 char physical_node_name[PHYSICAL_NODE_NAME_SIZE];
294 294
295 entry = list_entry(node, struct acpi_device_physical_node, 295 entry = list_entry(node, struct acpi_device_physical_node,
296 node); 296 node);
297 if (entry->dev != dev) 297 if (entry->dev != dev)
298 continue; 298 continue;
299 299
300 list_del(node); 300 list_del(node);
301
302 acpi_dev->physical_node_count--; 301 acpi_dev->physical_node_count--;
303 302
304 acpi_physnode_link_name(physical_node_name, entry->node_id); 303 acpi_physnode_link_name(physical_node_name, entry->node_id);