diff options
author | Tina Johnson <tinajohnson.1234@gmail.com> | 2014-08-11 17:24:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 01:55:15 -0400 |
commit | 287f9bd9325b982ed19371697d4af7032c5a3b0b (patch) | |
tree | 8cf70485262f6a1c66f105f66dabfc276c0df775 /drivers/base | |
parent | 24a7d36a7260a30b8477d1fe0335c87ad846ed56 (diff) |
attribute_container: fix coding style issues
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>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/attribute_container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c index 5917cc3d603a..3ead3af4be61 100644 --- a/drivers/base/attribute_container.c +++ b/drivers/base/attribute_container.c | |||
@@ -74,7 +74,7 @@ int | |||
74 | attribute_container_register(struct attribute_container *cont) | 74 | attribute_container_register(struct attribute_container *cont) |
75 | { | 75 | { |
76 | INIT_LIST_HEAD(&cont->node); | 76 | INIT_LIST_HEAD(&cont->node); |
77 | klist_init(&cont->containers,internal_container_klist_get, | 77 | klist_init(&cont->containers, internal_container_klist_get, |
78 | internal_container_klist_put); | 78 | internal_container_klist_put); |
79 | 79 | ||
80 | mutex_lock(&attribute_container_mutex); | 80 | mutex_lock(&attribute_container_mutex); |
@@ -184,7 +184,7 @@ attribute_container_add_device(struct device *dev, | |||
184 | struct klist_node *n = klist_next(iter); \ | 184 | struct klist_node *n = klist_next(iter); \ |
185 | n ? container_of(n, typeof(*pos), member) : \ | 185 | n ? container_of(n, typeof(*pos), member) : \ |
186 | ({ klist_iter_exit(iter) ; NULL; }); \ | 186 | ({ klist_iter_exit(iter) ; NULL; }); \ |
187 | }) ) != NULL; ) | 187 | })) != NULL;) |
188 | 188 | ||
189 | 189 | ||
190 | /** | 190 | /** |