lkml.org 
[lkml]   [2014]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Eisa: Fixed missing a blank line warning
Date
Added a new line after declarations to remove the warning:
'Missing a blank line after declarations'

Signed-off-by: Athira Lekshmi <andnlnbn18@gmail.com>
---
drivers/eisa/eisa-bus.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c
index 612afea..9712962 100644
--- a/drivers/eisa/eisa-bus.c
+++ b/drivers/eisa/eisa-bus.c
@@ -59,6 +59,7 @@ static void __init eisa_name_device(struct eisa_device *edev)
{
#ifdef CONFIG_EISA_NAMES
int i;
+
for (i = 0; i < EISA_INFOS; i++) {
if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) {
strlcpy(edev->pretty_name,
@@ -160,6 +161,7 @@ static ssize_t eisa_show_sig(struct device *dev, struct device_attribute *attr,
char *buf)
{
struct eisa_device *edev = to_eisa_device(dev);
+
return sprintf(buf, "%s\n", edev->id.sig);
}

@@ -170,6 +172,7 @@ static ssize_t eisa_show_state(struct device *dev,
char *buf)
{
struct eisa_device *edev = to_eisa_device(dev);
+
return sprintf(buf, "%d\n", edev->state & EISA_CONFIG_ENABLED);
}

--
1.7.9.5


\
 
 \ /
  Last update: 2014-12-07 10:41    [W:0.040 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site