[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1417945056-4561-1-git-send-email-andnlnbn18@gmail.com>
Date: Sun, 7 Dec 2014 15:07:36 +0530
From: Athira Lekshmi <andnlnbn18@...il.com>
To: bhelgaas@...gle.com
Cc: levex@...ux.com, linux-kernel@...r.kernel.org,
Athira Lekshmi <andnlnbn18@...il.com>
Subject: [PATCH] Eisa: Fixed missing a blank line warning
Added a new line after declarations to remove the warning:
'Missing a blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@...il.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
--
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