Skip to content

Commit d34898d

Browse files
Cosmin Tomulescugregkh
authored andcommitted
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 481026d commit d34898d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/base/class.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ int class_create_file_ns(struct class *cls, const struct class_attribute *attr,
9090
const void *ns)
9191
{
9292
int error;
93+
9394
if (cls)
9495
error = sysfs_create_file_ns(&cls->p->subsys.kobj,
9596
&attr->attr, ns);
@@ -488,6 +489,7 @@ ssize_t show_class_attr_string(struct class *class,
488489
struct class_attribute *attr, char *buf)
489490
{
490491
struct class_attribute_string *cs;
492+
491493
cs = container_of(attr, struct class_attribute_string, attr);
492494
return snprintf(buf, PAGE_SIZE, "%s\n", cs->str);
493495
}

0 commit comments

Comments
 (0)