Skip to contentSkip to conversation

staging: dgnc: dgnc_sysfs.c checkpatch modifications

PATCH Superseded Walt Feasel 1 participant 3 messages Nov 18, 2016 Staging

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover staging: dgnc: dgnc_sysfs.c checkpatch modifications

Make Linux kernel coding style modifications for dgnc_sysfs.c to include:

Comment style modifications
Remove blank line

Walt Feasel (2):
staging: dgnc: dgnc_sysfs.c Comment style modifications
staging: dgnc: dgnc_sysfs.c Delete blank line

 drivers/staging/dgnc/dgnc_sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
v2 makes changes to correct for email format patch submission 2.1.4

#1 lore raw

PATCH v2 1/2 staging: dgnc: dgnc_sysfs.c Comment style modifications

Make modifications to comment style

---
v2 makes changes to correct for email format patch submission

 drivers/staging/dgnc/dgnc_sysfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/dgnc/dgnc_sysfs.c +2 -1
index 290bf6e..6e8c53b 100644
@@ -334,7 +334,8 @@ static ssize_t ports_txcount_show(struct device *p,
 }
 static DEVICE_ATTR_RO(ports_txcount);
 
-/* this function creates the sys files that will export each signal status
+/*
+ * this function creates the sys files that will export each signal status
  * to sysfs each value will be put in a separate filename
  */
 void dgnc_create_ports_sysfiles(struct dgnc_board *bd)
Signature · 1 line
2.1.4
#2 lore raw

PATCH v2 2/2 staging: dgnc: dgnc_sysfs.c Delete blank line

In reply to Walt Feasel

Make modification to remove extra blank line

---
v2 makes changes to correct for email format patch submission

 drivers/staging/dgnc/dgnc_sysfs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/dgnc/dgnc_sysfs.c +0 -1
index 6e8c53b..d41517c 100644
@@ -701,4 +701,3 @@ void dgnc_remove_tty_sysfs(struct device *c)
 {
 	sysfs_remove_group(&c->kobj, &dgnc_tty_attribute_group);
 }
-
Signature · 1 line
2.1.4