Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cosmin Dragomir and committed by
Greg Kroah-Hartman
481026db 3d3af6af

+2
+2
drivers/base/attribute_container.c
··· 94 94 attribute_container_unregister(struct attribute_container *cont) 95 95 { 96 96 int retval = -EBUSY; 97 + 97 98 mutex_lock(&attribute_container_mutex); 98 99 spin_lock(&cont->containers.k_lock); 99 100 if (!list_empty(&cont->containers.k_list)) ··· 350 349 attribute_container_add_class_device(struct device *classdev) 351 350 { 352 351 int error = device_add(classdev); 352 + 353 353 if (error) 354 354 return error; 355 355 return attribute_container_add_attrs(classdev);