[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1425811735-30693-1-git-send-email-lavinia.tachee@gmail.com>
Date: Sun, 8 Mar 2015 12:48:55 +0200
From: Lavinia Tache <lavinia.tachee@...il.com>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
Lavinia Tache <lavinia.tachee@...il.com>
Subject: [PATCH] driver core: add missing blank line after declaration
Found using checkpatch.pl
Signed-off-by: Lavinia Tache <lavinia.tachee@...il.com>
---
drivers/base/driver.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 9e29943..4eabfe2 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
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists