From: Tina Johnson Date: Mon, 11 Aug 2014 21:24:09 +0000 (+0530) Subject: attribute_container: fix coding style issues X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=287f9bd9325b982ed19371697d4af7032c5a3b0b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git attribute_container: fix coding style issues Fix checkpatch.pl issues with coding style. Added and removed spaces accordingly. Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman --- 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 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;) /**