[PATCH] Eisa: Fixed missing a blank line warning
From: Athira Lekshmi
Date: Sun Dec 07 2014 - 04:37:50 EST
Added a new line after declarations to remove the warning:
'Missing a blank line after declarations'
Signed-off-by: Athira Lekshmi <andnlnbn18@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/