Commit 8086fff8 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: comedi: Add spaces after commas where suggested by checkpatch.pl

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e473e912
...@@ -37,16 +37,16 @@ ...@@ -37,16 +37,16 @@
#include <linux/ioctl32.h> /* for (un)register_ioctl32_conversion */ #include <linux/ioctl32.h> /* for (un)register_ioctl32_conversion */
#endif #endif
#define COMEDI32_CHANINFO _IOR(CIO,3,comedi32_chaninfo) #define COMEDI32_CHANINFO _IOR(CIO, 3, comedi32_chaninfo)
#define COMEDI32_RANGEINFO _IOR(CIO,8,comedi32_rangeinfo) #define COMEDI32_RANGEINFO _IOR(CIO, 8, comedi32_rangeinfo)
/* N.B. COMEDI32_CMD and COMEDI_CMD ought to use _IOWR, not _IOR. /* N.B. COMEDI32_CMD and COMEDI_CMD ought to use _IOWR, not _IOR.
* It's too late to change it now, but it only affects the command number. */ * It's too late to change it now, but it only affects the command number. */
#define COMEDI32_CMD _IOR(CIO,9,comedi32_cmd) #define COMEDI32_CMD _IOR(CIO, 9, comedi32_cmd)
/* N.B. COMEDI32_CMDTEST and COMEDI_CMDTEST ought to use _IOWR, not _IOR. /* N.B. COMEDI32_CMDTEST and COMEDI_CMDTEST ought to use _IOWR, not _IOR.
* It's too late to change it now, but it only affects the command number. */ * It's too late to change it now, but it only affects the command number. */
#define COMEDI32_CMDTEST _IOR(CIO,10,comedi32_cmd) #define COMEDI32_CMDTEST _IOR(CIO, 10, comedi32_cmd)
#define COMEDI32_INSNLIST _IOR(CIO,11,comedi32_insnlist) #define COMEDI32_INSNLIST _IOR(CIO, 11, comedi32_insnlist)
#define COMEDI32_INSN _IOR(CIO,12,comedi32_insn) #define COMEDI32_INSN _IOR(CIO, 12, comedi32_insn)
typedef struct comedi32_chaninfo_struct { typedef struct comedi32_chaninfo_struct {
unsigned int subdev; unsigned int subdev;
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
#define PCIMIO_COMPAT #define PCIMIO_COMPAT
#ifdef DEBUG_MITE #ifdef DEBUG_MITE
#define MDPRINTK(format,args...) printk(format , ## args ) #define MDPRINTK(format, args...) printk(format , ## args )
#else #else
#define MDPRINTK(format,args...) #define MDPRINTK(format, args...)
#endif #endif
#define MAX_MITE_DMA_CHANNELS 8 #define MAX_MITE_DMA_CHANNELS 8
......
This diff is collapsed.
...@@ -454,7 +454,7 @@ static enc_private enc_private_data[] = { ...@@ -454,7 +454,7 @@ static enc_private enc_private_data[] = {
/* enab/disable a function or test status bit(s) that are accessed */ /* enab/disable a function or test status bit(s) that are accessed */
/* through Main Control Registers 1 or 2. */ /* through Main Control Registers 1 or 2. */
#define MC_ENABLE( REGADRS, CTRLWORD ) writel( ( (uint32_t)( CTRLWORD ) << 16 ) | (uint32_t)( CTRLWORD ),devpriv->base_addr+( REGADRS ) ) #define MC_ENABLE( REGADRS, CTRLWORD ) writel( ( (uint32_t)( CTRLWORD ) << 16 ) | (uint32_t)( CTRLWORD ), devpriv->base_addr+( REGADRS ) )
#define MC_DISABLE( REGADRS, CTRLWORD ) writel( (uint32_t)( CTRLWORD ) << 16 , devpriv->base_addr+( REGADRS ) ) #define MC_DISABLE( REGADRS, CTRLWORD ) writel( (uint32_t)( CTRLWORD ) << 16 , devpriv->base_addr+( REGADRS ) )
...@@ -462,7 +462,7 @@ static enc_private enc_private_data[] = { ...@@ -462,7 +462,7 @@ static enc_private enc_private_data[] = {
/* #define WR7146(REGARDS,CTRLWORD) /* #define WR7146(REGARDS,CTRLWORD)
writel(CTRLWORD,(uint32_t)(devpriv->base_addr+(REGARDS))) */ writel(CTRLWORD,(uint32_t)(devpriv->base_addr+(REGARDS))) */
#define WR7146(REGARDS,CTRLWORD) writel(CTRLWORD,devpriv->base_addr+(REGARDS)) #define WR7146(REGARDS, CTRLWORD) writel(CTRLWORD, devpriv->base_addr+(REGARDS))
/* #define RR7146(REGARDS) /* #define RR7146(REGARDS)
readl((uint32_t)(devpriv->base_addr+(REGARDS))) */ readl((uint32_t)(devpriv->base_addr+(REGARDS))) */
...@@ -475,9 +475,9 @@ static enc_private enc_private_data[] = { ...@@ -475,9 +475,9 @@ static enc_private enc_private_data[] = {
#define SETVECT( VECTNUM, VECTVAL ) WR7146(VECTPORT( VECTNUM ), (VECTVAL)) #define SETVECT( VECTNUM, VECTVAL ) WR7146(VECTPORT( VECTNUM ), (VECTVAL))
/* Code macros used for constructing I2C command bytes. */ /* Code macros used for constructing I2C command bytes. */
#define I2C_B2(ATTR,VAL) ( ( (ATTR) << 6 ) | ( (VAL) << 24 ) ) #define I2C_B2(ATTR, VAL) ( ( (ATTR) << 6 ) | ( (VAL) << 24 ) )
#define I2C_B1(ATTR,VAL) ( ( (ATTR) << 4 ) | ( (VAL) << 16 ) ) #define I2C_B1(ATTR, VAL) ( ( (ATTR) << 4 ) | ( (VAL) << 16 ) )
#define I2C_B0(ATTR,VAL) ( ( (ATTR) << 2 ) | ( (VAL) << 8 ) ) #define I2C_B0(ATTR, VAL) ( ( (ATTR) << 2 ) | ( (VAL) << 8 ) )
static const comedi_lrange s626_range_table = { 2, { static const comedi_lrange s626_range_table = { 2, {
RANGE(-5, 5), RANGE(-5, 5),
......
...@@ -470,9 +470,9 @@ ...@@ -470,9 +470,9 @@
#define I2CW ( devpriv->I2CAdrs ) #define I2CW ( devpriv->I2CAdrs )
/* Code macros used for constructing I2C command bytes. */ /* Code macros used for constructing I2C command bytes. */
#define I2C_B2(ATTR,VAL) ( ( (ATTR) << 6 ) | ( (VAL) << 24 ) ) #define I2C_B2(ATTR, VAL) ( ( (ATTR) << 6 ) | ( (VAL) << 24 ) )
#define I2C_B1(ATTR,VAL) ( ( (ATTR) << 4 ) | ( (VAL) << 16 ) ) #define I2C_B1(ATTR, VAL) ( ( (ATTR) << 4 ) | ( (VAL) << 16 ) )
#define I2C_B0(ATTR,VAL) ( ( (ATTR) << 2 ) | ( (VAL) << 8 ) ) #define I2C_B0(ATTR, VAL) ( ( (ATTR) << 2 ) | ( (VAL) << 8 ) )
/* oldest */ /* oldest */
#define P_DEBICFGq 0x007C /* DEBI configuration. */ #define P_DEBICFGq 0x007C /* DEBI configuration. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment