attribute_container: fix missing blank lines after declarations

Found with checkpatch.pl

Signed-off-by: Cosmin Dragomir <cosmin.gabriel.dragomir@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cosmin Dragomir 2015-03-08 12:30:14 +02:00 committed by Greg Kroah-Hartman
parent 3d3af6afa9
commit 481026dbe8
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ int
attribute_container_unregister(struct attribute_container *cont) attribute_container_unregister(struct attribute_container *cont)
{ {
int retval = -EBUSY; int retval = -EBUSY;
mutex_lock(&attribute_container_mutex); mutex_lock(&attribute_container_mutex);
spin_lock(&cont->containers.k_lock); spin_lock(&cont->containers.k_lock);
if (!list_empty(&cont->containers.k_list)) if (!list_empty(&cont->containers.k_list))
@ -349,6 +350,7 @@ int
attribute_container_add_class_device(struct device *classdev) attribute_container_add_class_device(struct device *classdev)
{ {
int error = device_add(classdev); int error = device_add(classdev);
if (error) if (error)
return error; return error;
return attribute_container_add_attrs(classdev); return attribute_container_add_attrs(classdev);