attribute_container: fix coding style issues
authorTina Johnson <tinajohnson.1234@gmail.com>
Mon, 11 Aug 2014 21:24:09 +0000 (02:54 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 05:55:15 +0000 (22:55 -0700)
Fix checkpatch.pl issues with coding style. Added and removed spaces
accordingly.

Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/attribute_container.c

index 5917cc3d603aa185f61dba932603b17ce26ef119..3ead3af4be6197b8addaafd375d247e8f8c38f70 100644 (file)
@@ -74,7 +74,7 @@ int
 attribute_container_register(struct attribute_container *cont)
 {
        INIT_LIST_HEAD(&cont->node);
-       klist_init(&cont->containers,internal_container_klist_get,
+       klist_init(&cont->containers, internal_container_klist_get,
                   internal_container_klist_put);
 
        mutex_lock(&attribute_container_mutex);
@@ -184,7 +184,7 @@ attribute_container_add_device(struct device *dev,
                struct klist_node *n = klist_next(iter); \
                n ? container_of(n, typeof(*pos), member) : \
                        ({ klist_iter_exit(iter) ; NULL; }); \
-       }) ) != NULL; )
+       })) != NULL;)
 
 
 /**