2016-11-18 23:34:19

by Walt Feasel

[permalink] [raw]
Subject: [PATCH v2 0/2] 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


2016-11-18 23:34:24

by Walt Feasel

[permalink] [raw]
Subject: [PATCH v2 1/2] staging: dgnc: dgnc_sysfs.c Comment style modifications

Make modifications to comment style

Signed-off-by: Walt Feasel <[email protected]>
---
v2 makes changes to correct for email format patch submission

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

diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c
index 290bf6e..6e8c53b 100644
--- a/drivers/staging/dgnc/dgnc_sysfs.c
+++ b/drivers/staging/dgnc/dgnc_sysfs.c
@@ -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)
--
2.1.4

2016-11-18 23:34:31

by Walt Feasel

[permalink] [raw]
Subject: [PATCH v2 2/2] staging: dgnc: dgnc_sysfs.c Delete blank line

Make modification to remove extra blank line

Signed-off-by: Walt Feasel <[email protected]>
---
v2 makes changes to correct for email format patch submission

drivers/staging/dgnc/dgnc_sysfs.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/dgnc/dgnc_sysfs.c b/drivers/staging/dgnc/dgnc_sysfs.c
index 6e8c53b..d41517c 100644
--- a/drivers/staging/dgnc/dgnc_sysfs.c
+++ b/drivers/staging/dgnc/dgnc_sysfs.c
@@ -701,4 +701,3 @@ void dgnc_remove_tty_sysfs(struct device *c)
{
sysfs_remove_group(&c->kobj, &dgnc_tty_attribute_group);
}
-
--
2.1.4