aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosmin Dragomir <cosmin.gabriel.dragomir@gmail.com>2015-03-08 06:30:14 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 09:35:09 -0400
commit481026dbe88bd42cae88ade3289f26d16e5168aa (patch)
tree3bbec60988be35fddfac2daa185c7422cb6fd46b
parent3d3af6afa9985ca30d9ee8f48897eb71f9c1583f (diff)
attribute_container: fix missing blank lines after declarations
Found with checkpatch.pl Signed-off-by: Cosmin Dragomir <cosmin.gabriel.dragomir@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/base/attribute_container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c
index 3ead3af4be61..2ba4cac080c5 100644
--- a/drivers/base/attribute_container.c
+++ b/drivers/base/attribute_container.c
@@ -94,6 +94,7 @@ int
94attribute_container_unregister(struct attribute_container *cont) 94attribute_container_unregister(struct attribute_container *cont)
95{ 95{
96 int retval = -EBUSY; 96 int retval = -EBUSY;
97
97 mutex_lock(&attribute_container_mutex); 98 mutex_lock(&attribute_container_mutex);
98 spin_lock(&cont->containers.k_lock); 99 spin_lock(&cont->containers.k_lock);
99 if (!list_empty(&cont->containers.k_list)) 100 if (!list_empty(&cont->containers.k_list))
@@ -349,6 +350,7 @@ int
349attribute_container_add_class_device(struct device *classdev) 350attribute_container_add_class_device(struct device *classdev)
350{ 351{
351 int error = device_add(classdev); 352 int error = device_add(classdev);
353
352 if (error) 354 if (error)
353 return error; 355 return error;
354 return attribute_container_add_attrs(classdev); 356 return attribute_container_add_attrs(classdev);