Commit 287f9bd9 authored by Tina Johnson's avatar Tina Johnson Committed by Greg Kroah-Hartman

attribute_container: fix coding style issues

Fix checkpatch.pl issues with coding style. Added and removed spaces
accordingly.
Signed-off-by: default avatarTina Johnson <tinajohnson.1234@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 24a7d36a
...@@ -74,7 +74,7 @@ int ...@@ -74,7 +74,7 @@ int
attribute_container_register(struct attribute_container *cont) attribute_container_register(struct attribute_container *cont)
{ {
INIT_LIST_HEAD(&cont->node); 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); internal_container_klist_put);
mutex_lock(&attribute_container_mutex); mutex_lock(&attribute_container_mutex);
...@@ -184,7 +184,7 @@ attribute_container_add_device(struct device *dev, ...@@ -184,7 +184,7 @@ attribute_container_add_device(struct device *dev,
struct klist_node *n = klist_next(iter); \ struct klist_node *n = klist_next(iter); \
n ? container_of(n, typeof(*pos), member) : \ n ? container_of(n, typeof(*pos), member) : \
({ klist_iter_exit(iter) ; NULL; }); \ ({ klist_iter_exit(iter) ; NULL; }); \
}) ) != NULL; ) })) != NULL;)
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment