[PATCH 31/31] Staging: comedi: fix over 80 characters coding style issues in adv_pci_dio.c

Previous thread: Low-Level and Long-Term Battery Control by Mohamed Ikbel Boulabiar on Tuesday, April 13, 2010 - 5:35 am. (4 messages)

Next thread: [PATCH][RFC 0/0/0/5] New SCSI target framework (SCST) with dev handlers and 2 target drivers by Vladislav Bolkhovitin on Tuesday, April 13, 2010 - 6:03 am. (1 message)
From: Maurice Dawson
Date: Tuesday, April 13, 2010 - 5:55 am

This is a re-submission of a previous patch to the adv_pci_dio.c file that fixes up over 80 character warnings found by the checkpatch.pl tool

Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com>
---
 drivers/staging/comedi/drivers/adv_pci_dio.c |  124 ++++++++++++-------------
 1 files changed, 60 insertions(+), 64 deletions(-)

diff --git a/drivers/staging/comedi/drivers/adv_pci_dio.c b/drivers/staging/comedi/drivers/adv_pci_dio.c
index b768ea5..3238e1a 100644
--- a/drivers/staging/comedi/drivers/adv_pci_dio.c
+++ b/drivers/staging/comedi/drivers/adv_pci_dio.c
@@ -63,8 +63,8 @@ enum hw_io_access {
 
 #define MAX_DI_SUBDEVS	2	/* max number of DI subdevices per card */
 #define MAX_DO_SUBDEVS	2	/* max number of DO subdevices per card */
-#define MAX_DIO_SUBDEVG	2
 			/* max number of DIO subdevices group per card */
+#define MAX_DIO_SUBDEVG	2
 
 #define SIZE_8255	   4	/* 8255 IO space length */
 
@@ -78,8 +78,8 @@ enum hw_io_access {
 #define PCI1730_DO	   2	/* W:   Digital output 0-15 */
 #define PCI1733_IDI	   0	/* R:   Isolated digital input  0-31 */
 #define	PCI1730_3_INT_EN	0x08	/* R/W: enable/disable interrupts */
-#define	PCI1730_3_INT_RF	0x0c
 			/* R/W: set falling/raising edge for interrupts */
+#define	PCI1730_3_INT_RF	0x0c
 #define	PCI1730_3_INT_CLR	0x10	/* R/W: clear interrupts */
 #define PCI1734_IDO	   0	/* W:   Isolated digital output 0-31 */
 #define PCI173x_BOARDID	   4	/* R:   Board I/D switch for 1730/3/4 */
@@ -88,8 +88,8 @@ enum hw_io_access {
 #define PCI1736_IDI        0	/* R:   Isolated digital input  0-15 */
 #define PCI1736_IDO        0	/* W:   Isolated digital output 0-15 */
 #define PCI1736_3_INT_EN        0x08	/* R/W: enable/disable interrupts */
-#define PCI1736_3_INT_RF        0x0c
 			/* R/W: set falling/raising edge for interrupts */
+#define PCI1736_3_INT_RF        0x0c
 #define PCI1736_3_INT_CLR       0x10	/* R/W: clear interrupts */
 #define PCI1736_BOARDID    4	/* R:   Board I/D switch for 1736UP */
 #define ...
From: Greg KH
Date: Tuesday, April 27, 2010 - 3:22 pm

Sorry, someone else already sent in a patch for this :(

greg k-h
--

Previous thread: Low-Level and Long-Term Battery Control by Mohamed Ikbel Boulabiar on Tuesday, April 13, 2010 - 5:35 am. (4 messages)

Next thread: [PATCH][RFC 0/0/0/5] New SCSI target framework (SCST) with dev handlers and 2 target drivers by Vladislav Bolkhovitin on Tuesday, April 13, 2010 - 6:03 am. (1 message)