Staging: Comedi: adl_pci9118: 2 style issues fixed
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
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
@@ -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
PATCH 2/2 Staging: comedi: adl_pci9118: fractured spelling fixed
In reply to Sam Asadia 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
@@ -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
Greg KH
maintainerQuoted 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 fixeddrivers/staging/comedi/drivers/adl_pci9118.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
These worked, thanks.
greg k-h