Skip to contentSkip to conversation

Staging: Comedi: adl_pci9118: 2 style issues fixed

PATCH In review Sam Asadi 2 participants 4 messages Jul 16, 2014 Staging

lore
Share & tools
lore

Sam Asadi

author
#0 lore raw

cover Staging: Comedi: adl_pci9118: 2 style issues fixed

2 style issues fixed: one misspelling & a quoted string split across lines.

Sam Asadi (2):
Staging: comedi: adl_pci9118: a style issue fixed
Staging: comedi: adl_pci9118: fractured spelling fixed

 drivers/staging/comedi/drivers/adl_pci9118.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Signature · 1 line
1.7.10.4
author
#1 lore raw

PATCH 1/2 Staging: comedi: adl_pci9118: a style issue fixed

'quoted string split across lines' warning in checkpatching fixed by group whole string in one line.

---
 drivers/staging/comedi/drivers/adl_pci9118.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/comedi/drivers/adl_pci9118.c +1 -2
index 59a65cb..b2d25f5 100644
@@ -412,8 +412,7 @@ static int check_channel_list(struct comedi_device *dev,
 			if ((CR_AREF(chanlist[i]) == AREF_DIFF) !=
 			    (differencial)) {
 				comedi_error(dev,
-					     "Differencial and single ended "
-						"inputs can't be mixtured!");
+					     "Differencial and single ended inputs can't be mixtured!");
 				return 0;
 			}
 			if ((CR_RANGE(chanlist[i]) < PCI9118_BIPOLAR_RANGES) !=
Signature · 1 line
1.7.10.4
author
#2 lore raw

PATCH 2/2 Staging: comedi: adl_pci9118: fractured spelling fixed

In reply to Sam Asadi

a fractured spelling in previous style issue fix mended.

---
 drivers/staging/comedi/drivers/adl_pci9118.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/adl_pci9118.c +1 -1
index b2d25f5..f2a2d04 100644
@@ -412,7 +412,7 @@ static int check_channel_list(struct comedi_device *dev,
 			if ((CR_AREF(chanlist[i]) == AREF_DIFF) !=
 			    (differencial)) {
 				comedi_error(dev,
-					     "Differencial and single ended inputs can't be mixtured!");
+					     "Differential and single ended inputs can't be mixtured!");
 				return 0;
 			}
 			if ((CR_RANGE(chanlist[i]) < PCI9118_BIPOLAR_RANGES) !=
Signature · 1 line
1.7.10.4
maintainer
#3 lore raw
In reply to Sam Asadi
Quoted 8 lines · Sam Asadi

2 style issues fixed: one misspelling & a quoted string split across lines.

Sam Asadi (2):
Staging: comedi: adl_pci9118: a style issue fixed
Staging: comedi: adl_pci9118: fractured spelling fixed

 drivers/staging/comedi/drivers/adl_pci9118.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

These worked, thanks.

greg k-h