Commit 74642c6c authored by Lavinia Tache's avatar Lavinia Tache Committed by Greg Kroah-Hartman

driver core: add missing blank line after declaration

Found using checkpatch.pl
Signed-off-by: default avatarLavinia Tache <lavinia.tachee@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 518d3f38
...@@ -103,6 +103,7 @@ int driver_create_file(struct device_driver *drv, ...@@ -103,6 +103,7 @@ int driver_create_file(struct device_driver *drv,
const struct driver_attribute *attr) const struct driver_attribute *attr)
{ {
int error; int error;
if (drv) if (drv)
error = sysfs_create_file(&drv->p->kobj, &attr->attr); error = sysfs_create_file(&drv->p->kobj, &attr->attr);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment