summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLavinia Tache <lavinia.tachee@gmail.com>2015-03-08 12:48:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 14:36:30 +0100
commit74642c6cd088e124c3cccbd5cb2f54984d6d4e1a (patch)
tree110d0f9975230e5ac0df6329c5a5dbbdaa725b22
parent518d3f38abb8cc3a5125e71a1d23a366c69e2e49 (diff)
downloadlinux-74642c6cd088e124c3cccbd5cb2f54984d6d4e1a.tar.bz2
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>
-rw-r--r--drivers/base/driver.c1
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