* [PATCH] Eisa: Fixed missing a blank line warning
@ 2014-12-07 9:37 Athira Lekshmi
0 siblings, 0 replies; only message in thread
From: Athira Lekshmi @ 2014-12-07 9:37 UTC (permalink / raw)
To: bhelgaas; +Cc: levex, linux-kernel, Athira Lekshmi
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-07 9:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-07 9:37 [PATCH] Eisa: Fixed missing a blank line warning Athira Lekshmi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®