Eisa: Fixed missing a blank line warning
PATCH 1/1 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 <[email protected]>
--- drivers/eisa/eisa-bus.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/eisa/eisa-bus.c +3 -0
@@ -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 ); }
Signature · 1 line
1.7.9.5