Skip to content

Commit

Permalink
attribute_container: fix coding style issues
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tina Johnson authored and Greg Kroah-Hartman committed Sep 24, 2014
1 parent 24a7d36 commit 287f9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/base/attribute_container.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;)


/**
Expand Down

0 comments on commit 287f9bd

Please sign in to comment.