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

drivers: base: class: Add a blank line after declarations

This patch fixes the following warning found by checkpatch.pl:
WARNING: Missing a black line after declarations

Signed-off-by: Cosmin Tomulescu <cosmintom@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Cosmin Tomulescu and committed by
Greg Kroah-Hartman
d34898de 481026db

+2
+2
drivers/base/class.c
··· 90 90 const void *ns) 91 91 { 92 92 int error; 93 + 93 94 if (cls) 94 95 error = sysfs_create_file_ns(&cls->p->subsys.kobj, 95 96 &attr->attr, ns); ··· 489 488 struct class_attribute *attr, char *buf) 490 489 { 491 490 struct class_attribute_string *cs; 491 + 492 492 cs = container_of(attr, struct class_attribute_string, attr); 493 493 return snprintf(buf, PAGE_SIZE, "%s\n", cs->str); 494 494 }