Skip to contentSkip to conversation

Staging: comedi: 3 files revised fixed style issues

PATCH In review sam-the-6 2 participants 2 messages Jul 15, 2014 Staging

lore
Share & tools
lore

sam-the-6

author
#0 lore raw

PATCH 94/94 Staging: comedi: 3 files revised fixed style issues

From: Sam Asadi <[email protected]>

3 files in 'staging/comedi/drivers/' revised again and style issues fixed

	modified:   drivers/staging/comedi/drivers/8253.h
	modified:   drivers/staging/comedi/drivers/8255.c
	modified:   drivers/staging/comedi/drivers/adl_pci9118.c
---
 drivers/staging/comedi/drivers/8253.h        |   34 +++---
 drivers/staging/comedi/drivers/8255.c        |  154 +++++++++++++-------------
 drivers/staging/comedi/drivers/adl_pci9118.c |  140 +++++++++++------------
 3 files changed, 167 insertions(+), 161 deletions(-)
drivers/staging/comedi/drivers/8253.h +17 -17
index f6b8607..31d0fc9 100644
@@ -1,20 +1,20 @@
 /*
-    comedi/drivers/8253.h
-    Header file for 8253
-
-    COMEDI - Linux Control and Measurement Device Interface
-    Copyright (C) 2000 David A. Schleef <[email protected]>
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-*/
+ * comedi/drivers/8253.h
+ * Header file for 8253
+ *
+ * COMEDI - Linux Control and Measurement Device Interface
+ * Copyright (C) 2000 David A. Schleef <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
 
 #ifndef _8253_H
 #define _8253_H
@@ -55,7 +55,7 @@ static inline void i8253_cascade_ns_to_timer(int i8253_osc_base,
 	    /* check for overflow */
 	    divider > div1 && divider > div2 &&
 	    divider * i8253_osc_base > divider &&
-	    divider * i8253_osc_base > i8253_osc_base)	{
+	    divider * i8253_osc_base > i8253_osc_base) {
 		return;
 	}
 
drivers/staging/comedi/drivers/8255.c +79 -75

174 lines not on this page · raw message

drivers/staging/comedi/drivers/adl_pci9118.c +71 -69

202 lines not on this page · raw message

Signature · 1 line
1.7.10.4
maintainer
#1 lore raw
Quoted 7 lines · On Tue, Jul 15, 2014 at 04:19:22PM +0300, sam-the-6 wrote:

From: Sam Asadi <[email protected]>

3 files in 'staging/comedi/drivers/' revised again and style issues fixed

Quoted 8 lines
	modified:   drivers/staging/comedi/drivers/8253.h
	modified:   drivers/staging/comedi/drivers/8255.c
	modified:   drivers/staging/comedi/drivers/adl_pci9118.c
---
 drivers/staging/comedi/drivers/8253.h        |   34 +++---
 drivers/staging/comedi/drivers/8255.c        |  154 +++++++++++++-------------
 drivers/staging/comedi/drivers/adl_pci9118.c |  140 +++++++++++------------
 3 files changed, 167 insertions(+), 161 deletions(-)

As said before, this isn't an ok way to do this, please break it up into individual changes per patch.

thanks,

greg k-h