From: Lavinia Tache Date: Sun, 8 Mar 2015 10:48:55 +0000 (+0200) Subject: driver core: add missing blank line after declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=74642c6cd088e124c3cccbd5cb2f54984d6d4e1a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git driver core: add missing blank line after declaration Found using checkpatch.pl Signed-off-by: Lavinia Tache Signed-off-by: Greg Kroah-Hartman --- 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