driver core: add missing blank line after declaration
Found using checkpatch.pl Signed-off-by: Lavinia Tache <lavinia.tachee@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
518d3f38ab
commit
74642c6cd0
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ int driver_create_file(struct device_driver *drv,
|
|||
const struct driver_attribute *attr)
|
||||
{
|
||||
int error;
|
||||
|
||||
if (drv)
|
||||
error = sysfs_create_file(&drv->p->kobj, &attr->attr);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue