attribute_container: fix missing blank lines after declarations
authorCosmin Dragomir <cosmin.gabriel.dragomir@gmail.com>
Sun, 8 Mar 2015 10:30:14 +0000 (12:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2015 13:35:09 +0000 (14:35 +0100)
Found with checkpatch.pl

Signed-off-by: Cosmin Dragomir <cosmin.gabriel.dragomir@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/attribute_container.c

index 3ead3af4be6197b8addaafd375d247e8f8c38f70..2ba4cac080c5e79cc8b5056f18aa45b75e816bf6 100644 (file)
@@ -94,6 +94,7 @@ int
 attribute_container_unregister(struct attribute_container *cont)
 {
        int retval = -EBUSY;
+
        mutex_lock(&attribute_container_mutex);
        spin_lock(&cont->containers.k_lock);
        if (!list_empty(&cont->containers.k_list))
@@ -349,6 +350,7 @@ int
 attribute_container_add_class_device(struct device *classdev)
 {
        int error = device_add(classdev);
+
        if (error)
                return error;
        return attribute_container_add_attrs(classdev);