diff options
| author | Lavinia Tache <lavinia.tachee@gmail.com> | 2015-03-08 06:48:55 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-25 09:36:30 -0400 |
| commit | 74642c6cd088e124c3cccbd5cb2f54984d6d4e1a (patch) | |
| tree | 110d0f9975230e5ac0df6329c5a5dbbdaa725b22 /drivers/base | |
| parent | 518d3f38abb8cc3a5125e71a1d23a366c69e2e49 (diff) | |
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')
| -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, | |||
| 103 | const struct driver_attribute *attr) | 103 | const struct driver_attribute *attr) |
| 104 | { | 104 | { |
| 105 | int error; | 105 | int error; |
| 106 | |||
| 106 | if (drv) | 107 | if (drv) |
| 107 | error = sysfs_create_file(&drv->p->kobj, &attr->attr); | 108 | error = sysfs_create_file(&drv->p->kobj, &attr->attr); |
| 108 | else | 109 | else |
