diff options
author | Lavinia Tache <lavinia.tachee@gmail.com> | 2015-03-08 11:48:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-25 14:36:30 +0100 |
commit | 74642c6cd088e124c3cccbd5cb2f54984d6d4e1a (patch) | |
tree | 110d0f9975230e5ac0df6329c5a5dbbdaa725b22 /drivers/base/driver.c | |
parent | drivers: base: node: Delete space after pointer declaration (diff) | |
download | linux-74642c6cd088e124c3cccbd5cb2f54984d6d4e1a.tar.xz linux-74642c6cd088e124c3cccbd5cb2f54984d6d4e1a.zip |
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>
Diffstat (limited to 'drivers/base/driver.c')
-rw-r--r-- | drivers/base/driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 9e29943e56ca..4eabfe28d2b3 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c @@ -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 |