Skip to contentSkip to conversation

Drivers: comedi: Lindented files.

PATCH In review vpuh1 2 participants 2 messages Jul 22, 2021 – Jul 23, 2021 Comedi drivers

lore
Share & tools
lore

vpuh1

author
#0 lore raw

PATCH 1/1 Drivers: comedi: Lindented files.

Indented files in drivers/comedi directory using scripts/Lindent.

---
 drivers/comedi/comedi.h                       |   79 +-
 drivers/comedi/comedi_buf.c                   |   26 +-
 drivers/comedi/comedi_fops.c                  |  240 ++-
 drivers/comedi/comedi_internal.h              |    7 +-
 drivers/comedi/comedi_pci.c                   |   13 +-
 drivers/comedi/comedi_pcmcia.c                |   14 +-
 drivers/comedi/comedi_pcmcia.h                |    2 +-
 drivers/comedi/comedi_usb.c                   |   11 +-
 drivers/comedi/comedidev.h                    |   89 +-
 drivers/comedi/drivers.c                      |   57 +-
 drivers/comedi/drivers/8255.c                 |    9 +-
 drivers/comedi/drivers/8255.h                 |    4 +-
 drivers/comedi/drivers/8255_pci.c             |  156 +-
 drivers/comedi/drivers/addi_apci_1032.c       |   64 +-
 drivers/comedi/drivers/addi_apci_1500.c       |  151 +-
 drivers/comedi/drivers/addi_apci_1516.c       |   78 +-
 drivers/comedi/drivers/addi_apci_1564.c       |  138 +-
 drivers/comedi/drivers/addi_apci_16xx.c       |   52 +-
 drivers/comedi/drivers/addi_apci_2032.c       |   64 +-
 drivers/comedi/drivers/addi_apci_2200.c       |   48 +-
 drivers/comedi/drivers/addi_apci_3120.c       |  169 +-
 drivers/comedi/drivers/addi_apci_3501.c       |   87 +-
 drivers/comedi/drivers/addi_apci_3xxx.c       |  623 +++---
 drivers/comedi/drivers/addi_watchdog.c        |   21 +-
 drivers/comedi/drivers/adl_pci6208.c          |   68 +-
 drivers/comedi/drivers/adl_pci7x3x.c          |  162 +-
 drivers/comedi/drivers/adl_pci8164.c          |   88 +-
 drivers/comedi/drivers/adl_pci9111.c          |  128 +-
 drivers/comedi/drivers/adl_pci9118.c          |  256 ++-
 drivers/comedi/drivers/adq12b.c               |   80 +-
 drivers/comedi/drivers/adv_pci1710.c          |  350 ++--
 drivers/comedi/drivers/adv_pci1720.c          |   61 +-
 drivers/comedi/drivers/adv_pci1723.c          |   55 +-
 drivers/comedi/drivers/adv_pci1724.c          |   74 +-
 drivers/comedi/drivers/adv_pci1760.c          |   82 +-
 drivers/comedi/drivers/adv_pci_dio.c          |  317 ++-
 drivers/comedi/drivers/aio_aio12_8.c          |   77 +-
 drivers/comedi/drivers/aio_iiro_16.c          |   45 +-
 drivers/comedi/drivers/amplc_dio200.c         |   95 +-
 drivers/comedi/drivers/amplc_dio200.h         |    2 +-
 drivers/comedi/drivers/amplc_dio200_common.c  |   41 +-
 drivers/comedi/drivers/amplc_dio200_pci.c     |  137 +-
 drivers/comedi/drivers/amplc_pc236.c          |    4 +-
 drivers/comedi/drivers/amplc_pc236.h          |    6 +-
 drivers/comedi/drivers/amplc_pc236_common.c   |    5 +-
 drivers/comedi/drivers/amplc_pc263.c          |   35 +-
 drivers/comedi/drivers/amplc_pci224.c         |  126 +-
 drivers/comedi/drivers/amplc_pci230.c         |  244 ++-
 drivers/comedi/drivers/amplc_pci236.c         |    8 +-
 drivers/comedi/drivers/amplc_pci263.c         |   37 +-
 drivers/comedi/drivers/c6xdigio.c             |   55 +-
 drivers/comedi/drivers/cb_das16_cs.c          |  128 +-
 drivers/comedi/drivers/cb_pcidas.c            |  353 ++--
 drivers/comedi/drivers/cb_pcidas64.c          | 1175 ++++++-----
 drivers/comedi/drivers/cb_pcidda.c            |  102 +-
 drivers/comedi/drivers/cb_pcimdas.c           |  126 +-
 drivers/comedi/drivers/cb_pcimdda.c           |   41 +-
 drivers/comedi/drivers/comedi_8254.c          |   71 +-
 drivers/comedi/drivers/comedi_8254.h          |   10 +-
 drivers/comedi/drivers/comedi_8255.c          |   38 +-
 drivers/comedi/drivers/comedi_bond.c          |   14 +-
 drivers/comedi/drivers/comedi_isadma.c        |   11 +-
 drivers/comedi/drivers/comedi_isadma.h        |   16 +-
 drivers/comedi/drivers/comedi_parport.c       |   70 +-
 drivers/comedi/drivers/comedi_test.c          |   87 +-
 drivers/comedi/drivers/contec_pci_dio.c       |   45 +-
 drivers/comedi/drivers/dac02.c                |   38 +-
 drivers/comedi/drivers/daqboard2000.c         |  139 +-
 drivers/comedi/drivers/das08.c                |  104 +-
 drivers/comedi/drivers/das08_cs.c             |   36 +-
 drivers/comedi/drivers/das08_isa.c            |  256 +--
 drivers/comedi/drivers/das08_pci.c            |   39 +-
 drivers/comedi/drivers/das16.c                |  789 +++++---
 drivers/comedi/drivers/das16m1.c              |  101 +-
 drivers/comedi/drivers/das1800.c              |  338 ++--
 drivers/comedi/drivers/das6402.c              |  155 +-
 drivers/comedi/drivers/das800.c               |  232 ++-
 drivers/comedi/drivers/dmm32at.c              |  117 +-
 drivers/comedi/drivers/dt2801.c               |   74 +-
 drivers/comedi/drivers/dt2811.c               |  196 +-
 drivers/comedi/drivers/dt2814.c               |   19 +-
 drivers/comedi/drivers/dt2815.c               |   15 +-
 drivers/comedi/drivers/dt2817.c               |   15 +-
 drivers/comedi/drivers/dt282x.c               |  428 ++--
 drivers/comedi/drivers/dt3000.c               |  217 +-
 drivers/comedi/drivers/dt9812.c               |  109 +-
 drivers/comedi/drivers/dyna_pci10xx.c         |   29 +-
 drivers/comedi/drivers/fl512.c                |   55 +-
 drivers/comedi/drivers/gsc_hpdi.c             |   68 +-
 drivers/comedi/drivers/icp_multi.c            |   96 +-
 drivers/comedi/drivers/ii_pci20kc.c           |   91 +-
 drivers/comedi/drivers/jr3_pci.c              |   99 +-
 drivers/comedi/drivers/jr3_pci.h              |  126 +-
 drivers/comedi/drivers/ke_counter.c           |   61 +-
 drivers/comedi/drivers/me4000.c               |  309 ++-
 drivers/comedi/drivers/me_daq.c               |  130 +-
 drivers/comedi/drivers/mf6x4.c                |   92 +-
 drivers/comedi/drivers/mite.c                 |   26 +-
 drivers/comedi/drivers/mpc624.c               |   73 +-
 drivers/comedi/drivers/multiq3.c              |   98 +-
 drivers/comedi/drivers/ni_6527.c              |  102 +-
 drivers/comedi/drivers/ni_65xx.c              |  296 ++-
 drivers/comedi/drivers/ni_660x.c              |  513 +++--
 drivers/comedi/drivers/ni_670x.c              |   52 +-
 drivers/comedi/drivers/ni_at_a2150.c          |   36 +-
 drivers/comedi/drivers/ni_at_ao.c             |   77 +-
 drivers/comedi/drivers/ni_atmio.c             |  265 ++-
 drivers/comedi/drivers/ni_atmio16d.c          |   79 +-
 drivers/comedi/drivers/ni_daq_700.c           |   78 +-
 drivers/comedi/drivers/ni_daq_dio24.c         |   27 +-
 drivers/comedi/drivers/ni_labpc.c             |   45 +-
 drivers/comedi/drivers/ni_labpc.h             |   13 +-
 drivers/comedi/drivers/ni_labpc_common.c      |  192 +-
 drivers/comedi/drivers/ni_labpc_cs.c          |   32 +-
 drivers/comedi/drivers/ni_labpc_isadma.c      |    7 +
 drivers/comedi/drivers/ni_labpc_pci.c         |   33 +-
 drivers/comedi/drivers/ni_labpc_regs.h        |    4 +-
 drivers/comedi/drivers/ni_mio_common.c        | 1107 +++++------
 drivers/comedi/drivers/ni_mio_cs.c            |  159 +-
 drivers/comedi/drivers/ni_pcidio.c            |   69 +-
 drivers/comedi/drivers/ni_pcimio.c            | 1769 +++++++++--------
 drivers/comedi/drivers/ni_routes.c            |   30 +-
 drivers/comedi/drivers/ni_routes.h            |   16 +-
 drivers/comedi/drivers/ni_stc.h               |   20 +-
 drivers/comedi/drivers/ni_tio.c               |  123 +-
 drivers/comedi/drivers/ni_tio.h               |   38 +-
 drivers/comedi/drivers/ni_tiocmd.c            |   35 +-
 drivers/comedi/drivers/ni_usb6501.c           |  188 +-
 drivers/comedi/drivers/pcl711.c               |  200 +-
 drivers/comedi/drivers/pcl724.c               |   91 +-
 drivers/comedi/drivers/pcl726.c               |  154 +-
 drivers/comedi/drivers/pcl730.c               |  281 +--
 drivers/comedi/drivers/pcl812.c               |  750 ++++---
 drivers/comedi/drivers/pcl816.c               |  134 +-
 drivers/comedi/drivers/pcl818.c               |  288 ++-
 drivers/comedi/drivers/pcm3724.c              |   12 +-
 drivers/comedi/drivers/pcmad.c                |   53 +-
 drivers/comedi/drivers/pcmda12.c              |   37 +-
 drivers/comedi/drivers/pcmmio.c               |  124 +-
 drivers/comedi/drivers/pcmuio.c               |   66 +-
 drivers/comedi/drivers/plx9052.h              |    4 +-
 drivers/comedi/drivers/plx9080.h              |   10 +-
 drivers/comedi/drivers/quatech_daqp_cs.c      |  122 +-
 drivers/comedi/drivers/rtd520.c               |  227 ++-
 drivers/comedi/drivers/rti800.c               |  137 +-
 drivers/comedi/drivers/rti802.c               |   26 +-
 drivers/comedi/drivers/s526.c                 |  108 +-
 drivers/comedi/drivers/s626.c                 |  332 ++--
 drivers/comedi/drivers/s626.h                 |   38 +-
 drivers/comedi/drivers/ssv_dnp.c              |   21 +-
 .../drivers/tests/comedi_example_test.c       |    4 +-
 drivers/comedi/drivers/tests/ni_routes_test.c |  138 +-
 drivers/comedi/drivers/tests/unittest.h       |    4 +-
 drivers/comedi/drivers/usbdux.c               |  199 +-
 drivers/comedi/drivers/usbduxfast.c           |   92 +-
 drivers/comedi/drivers/usbduxsigma.c          |  176 +-
 drivers/comedi/drivers/vmk80xx.c              |  218 +-
 drivers/comedi/drivers/z8536.h                |   66 +-
 drivers/comedi/kcomedilib/kcomedilib_main.c   |   10 +-
 drivers/comedi/range.c                        |   37 +-
 160 files changed, 10826 insertions(+), 10635 deletions(-)
drivers/comedi/comedi.h +39 -40
index b5d00a006dbb..749e4b83f26f 100644
@@ -156,15 +156,15 @@
 #define TRIG_ANY	0xffffffff
 #define TRIG_INVALID	0x00000000
 
-#define TRIG_NONE	0x00000001 /* never trigger */
-#define TRIG_NOW	0x00000002 /* trigger now + N ns */
-#define TRIG_FOLLOW	0x00000004 /* trigger on next lower level trig */
-#define TRIG_TIME	0x00000008 /* trigger at time N ns */
-#define TRIG_TIMER	0x00000010 /* trigger at rate N ns */
-#define TRIG_COUNT	0x00000020 /* trigger when count reaches N */
-#define TRIG_EXT	0x00000040 /* trigger on external signal N */
-#define TRIG_INT	0x00000080 /* trigger on comedi-internal signal N */
-#define TRIG_OTHER	0x00000100 /* driver defined */
+#define TRIG_NONE	0x00000001	/* never trigger */
+#define TRIG_NOW	0x00000002	/* trigger now + N ns */
+#define TRIG_FOLLOW	0x00000004	/* trigger on next lower level trig */
+#define TRIG_TIME	0x00000008	/* trigger at time N ns */
+#define TRIG_TIMER	0x00000010	/* trigger at rate N ns */
+#define TRIG_COUNT	0x00000020	/* trigger when count reaches N */
+#define TRIG_EXT	0x00000040	/* trigger on external signal N */
+#define TRIG_INT	0x00000080	/* trigger on comedi-internal signal N */
+#define TRIG_OTHER	0x00000100	/* driver defined */
 
 /* subdevice flags */
 
@@ -178,9 +178,9 @@
 #define SDF_PWM_COUNTER 0x0080	/* PWM can automatically switch off */
 #define SDF_PWM_HBRIDGE 0x0100	/* PWM is signed (H-bridge) */
 #define SDF_CMD		0x1000	/* can do commands (deprecated) */
-#define SDF_SOFT_CALIBRATED	0x2000 /* subdevice uses software calibration */
-#define SDF_CMD_WRITE		0x4000 /* can do output commands */
-#define SDF_CMD_READ		0x8000 /* can do input commands */
+#define SDF_SOFT_CALIBRATED	0x2000	/* subdevice uses software calibration */
+#define SDF_CMD_WRITE		0x4000	/* can do output commands */
+#define SDF_CMD_READ		0x8000	/* can do input commands */
 
 /* subdevice can be read (e.g. analog input) */
 #define SDF_READABLE	0x00010000
@@ -320,8 +320,8 @@ enum configuration_ids {
 	INSN_CONFIG_FILTER = 24,
 	INSN_CONFIG_CHANGE_NOTIFY = 25,
 
-	INSN_CONFIG_SERIAL_CLOCK = 26,	/*ALPHA*/
-	INSN_CONFIG_BIDIRECTIONAL_DATA = 27,
+	INSN_CONFIG_SERIAL_CLOCK = 26, /*ALPHA*/
+	    INSN_CONFIG_BIDIRECTIONAL_DATA = 27,
 	INSN_CONFIG_DIO_QUERY = 28,
 	INSN_CONFIG_PWM_OUTPUT = 29,
 	INSN_CONFIG_GET_PWM_OUTPUT = 30,
@@ -1053,7 +1053,7 @@ enum ni_common_signal_names {
 	NI_AI_HoldCompleteEvent,
 	NI_AI_HoldComplete,
 	NI_AI_ExternalMUXClock,
-	NI_AI_STOP, /* pulse signal that occurs when a update is finished(?) */
+	NI_AI_STOP,		/* pulse signal that occurs when a update is finished(?) */
 	NI_AO_SampleClock,
 	NI_AO_SampleClockTimebase,
 	NI_AO_StartTrigger,
@@ -1137,38 +1137,37 @@ enum ni_gpct_mode_bits {
 	NI_GPCT_LOADING_ON_TC_BIT = 0x1000,
 	NI_GPCT_LOADING_ON_GATE_BIT = 0x4000,
 	NI_GPCT_COUNTING_MODE_MASK = 0x7 << NI_GPCT_COUNTING_MODE_SHIFT,
-	NI_GPCT_COUNTING_MODE_NORMAL_BITS =
-		0x0 << NI_GPCT_COUNTING_MODE_SHIFT,
+	NI_GPCT_COUNTING_MODE_NORMAL_BITS = 0x0 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_COUNTING_MODE_QUADRATURE_X1_BITS =
-		0x1 << NI_GPCT_COUNTING_MODE_SHIFT,
+	    0x1 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_COUNTING_MODE_QUADRATURE_X2_BITS =
-		0x2 << NI_GPCT_COUNTING_MODE_SHIFT,
+	    0x2 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_COUNTING_MODE_QUADRATURE_X4_BITS =
-		0x3 << NI_GPCT_COUNTING_MODE_SHIFT,
+	    0x3 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_COUNTING_MODE_TWO_PULSE_BITS =
-		0x4 << NI_GPCT_COUNTING_MODE_SHIFT,
+	    0x4 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_COUNTING_MODE_SYNC_SOURCE_BITS =
-		0x6 << NI_GPCT_COUNTING_MODE_SHIFT,
+	    0x6 << NI_GPCT_COUNTING_MODE_SHIFT,
 	NI_GPCT_INDEX_PHASE_MASK = 0x3 << NI_GPCT_INDEX_PHASE_BITSHIFT,
 	NI_GPCT_INDEX_PHASE_LOW_A_LOW_B_BITS =
-		0x0 << NI_GPCT_INDEX_PHASE_BITSHIFT,
+	    0x0 << NI_GPCT_INDEX_PHASE_BITSHIFT,
 	NI_GPCT_INDEX_PHASE_LOW_A_HIGH_B_BITS =
-		0x1 << NI_GPCT_INDEX_PHASE_BITSHIFT,
+	    0x1 << NI_GPCT_INDEX_PHASE_BITSHIFT,
 	NI_GPCT_INDEX_PHASE_HIGH_A_LOW_B_BITS =
-		0x2 << NI_GPCT_INDEX_PHASE_BITSHIFT,
+	    0x2 << NI_GPCT_INDEX_PHASE_BITSHIFT,
 	NI_GPCT_INDEX_PHASE_HIGH_A_HIGH_B_BITS =
-		0x3 << NI_GPCT_INDEX_PHASE_BITSHIFT,
+	    0x3 << NI_GPCT_INDEX_PHASE_BITSHIFT,
 	NI_GPCT_INDEX_ENABLE_BIT = 0x400000,
 	NI_GPCT_COUNTING_DIRECTION_MASK =
-		0x3 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
+	    0x3 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
 	NI_GPCT_COUNTING_DIRECTION_DOWN_BITS =
-		0x00 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
+	    0x00 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
 	NI_GPCT_COUNTING_DIRECTION_UP_BITS =
-		0x1 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
+	    0x1 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
 	NI_GPCT_COUNTING_DIRECTION_HW_UP_DOWN_BITS =
-		0x2 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
+	    0x2 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
 	NI_GPCT_COUNTING_DIRECTION_HW_GATE_BITS =
-		0x3 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
+	    0x3 << NI_GPCT_COUNTING_DIRECTION_SHIFT,
 	NI_GPCT_RELOAD_SOURCE_MASK = 0xc000000,
 	NI_GPCT_RELOAD_SOURCE_FIXED_BITS = 0x0,
 	NI_GPCT_RELOAD_SOURCE_SWITCHING_BITS = 0x4000000,
@@ -1469,7 +1468,7 @@ enum amplc_dio_clock_source {
 	/* the following are "enhanced" clock sources for PCIe models */
 	AMPLC_DIO_CLK_VCC,	/* clock input HIGH */
 	AMPLC_DIO_CLK_GND,	/* clock input LOW */
-	AMPLC_DIO_CLK_PAT_PRESENT, /* "pattern present" signal */
+	AMPLC_DIO_CLK_PAT_PRESENT,	/* "pattern present" signal */
 	AMPLC_DIO_CLK_20MHZ	/* 20 MHz internal clock */
 };
 
@@ -1503,14 +1502,14 @@ enum amplc_dio_gate_source {
 	AMPLC_DIO_GAT_RESERVED6,
 	AMPLC_DIO_GAT_RESERVED7,
 	/* the following are "enhanced" gate sources for PCIe models */
-	AMPLC_DIO_GAT_NGATN = 6, /* negated per channel gate input */
+	AMPLC_DIO_GAT_NGATN = 6,	/* negated per channel gate input */
 	/* non-negated output of counter channel minus 2 */
 	AMPLC_DIO_GAT_OUTNM2,
-	AMPLC_DIO_GAT_PAT_PRESENT, /* "pattern present" signal */
-	AMPLC_DIO_GAT_PAT_OCCURRED, /* "pattern occurred" latched */
+	AMPLC_DIO_GAT_PAT_PRESENT,	/* "pattern present" signal */
+	AMPLC_DIO_GAT_PAT_OCCURRED,	/* "pattern occurred" latched */
 	AMPLC_DIO_GAT_PAT_GONE,	/* "pattern gone away" latched */
-	AMPLC_DIO_GAT_NPAT_PRESENT, /* negated "pattern present" */
-	AMPLC_DIO_GAT_NPAT_OCCURRED, /* negated "pattern occurred" */
+	AMPLC_DIO_GAT_NPAT_PRESENT,	/* negated "pattern present" */
+	AMPLC_DIO_GAT_NPAT_OCCURRED,	/* negated "pattern occurred" */
 	AMPLC_DIO_GAT_NPAT_GONE	/* negated "pattern gone away" */
 };
 
@@ -1520,9 +1519,9 @@ enum amplc_dio_gate_source {
  * (ke_counter driver).
  */
 enum ke_counter_clock_source {
-	KE_CLK_20MHZ,	/* internal 20MHz (default) */
-	KE_CLK_4MHZ,	/* internal 4MHz (option) */
-	KE_CLK_EXT	/* external clock on pin 21 of D-Sub */
+	KE_CLK_20MHZ,		/* internal 20MHz (default) */
+	KE_CLK_4MHZ,		/* internal 4MHz (option) */
+	KE_CLK_EXT		/* external clock on pin 21 of D-Sub */
 };
 
 #endif /* _COMEDI_H */
drivers/comedi/comedi_buf.c +16 -10
index 06bfc859ab31..281d7efcf7d3 100644
@@ -22,7 +22,7 @@
 static void comedi_buf_map_kref_release(struct kref *kref)
 {
 	struct comedi_buf_map *bm =
-		container_of(kref, struct comedi_buf_map, refcount);
+	    container_of(kref, struct comedi_buf_map, refcount);
 	struct comedi_buf_page *buf;
 	unsigned int i;
 
@@ -71,9 +71,10 @@ static void __comedi_buf_free(struct comedi_device *dev,
 	comedi_buf_map_put(bm);
 }
 
-static struct comedi_buf_map *
-comedi_buf_map_alloc(struct comedi_device *dev, enum dma_data_direction dma_dir,
-		     unsigned int n_pages)
+static struct comedi_buf_map *comedi_buf_map_alloc(struct comedi_device *dev,
+						   enum dma_data_direction
+						   dma_dir,
+						   unsigned int n_pages)
 {
 	struct comedi_buf_map *bm;
 	struct comedi_buf_page *buf;
@@ -138,8 +139,7 @@ comedi_buf_map_alloc(struct comedi_device *dev, enum dma_data_direction dma_dir,
 }
 
 static void __comedi_buf_alloc(struct comedi_device *dev,
-			       struct comedi_subdevice *s,
-			       unsigned int n_pages)
+			       struct comedi_subdevice *s, unsigned int n_pages)
 {
 	struct comedi_async *async = s->async;
 	struct page **pages = NULL;
@@ -225,8 +225,8 @@ int comedi_buf_map_access(struct comedi_buf_map *bm, unsigned long offset,
 }
 
 /* returns s->async->buf_map and increments its kref refcount */
-struct comedi_buf_map *
-comedi_buf_map_from_subdev_get(struct comedi_subdevice *s)
+struct comedi_buf_map *comedi_buf_map_from_subdev_get(struct comedi_subdevice
+						      *s)
 {
 	struct comedi_async *async = s->async;
 	struct comedi_buf_map *bm = NULL;
@@ -356,6 +356,7 @@ unsigned int comedi_buf_write_alloc(struct comedi_subdevice *s,
 
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_write_alloc);
 
 /*
@@ -444,6 +445,7 @@ unsigned int comedi_buf_write_free(struct comedi_subdevice *s,
 
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_write_free);
 
 /**
@@ -475,6 +477,7 @@ unsigned int comedi_buf_read_n_available(struct comedi_subdevice *s)
 
 	return num_bytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_read_n_available);
 
 /**
@@ -512,6 +515,7 @@ unsigned int comedi_buf_read_alloc(struct comedi_subdevice *s,
 
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_read_alloc);
 
 static unsigned int comedi_buf_read_n_allocated(struct comedi_async *async)
@@ -553,6 +557,7 @@ unsigned int comedi_buf_read_free(struct comedi_subdevice *s,
 	async->buf_read_ptr %= async->prealloc_bufsz;
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_read_free);
 
 static void comedi_buf_memcpy_to(struct comedi_subdevice *s,
@@ -649,6 +654,7 @@ unsigned int comedi_buf_write_samples(struct comedi_subdevice *s,
 
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_write_samples);
 
 /**
@@ -680,8 +686,7 @@ unsigned int comedi_buf_read_samples(struct comedi_subdevice *s,
 	if (nsamples == 0)
 		return 0;
 
-	nbytes = comedi_buf_read_alloc(s,
-				       comedi_samples_to_bytes(s, nsamples));
+	nbytes = comedi_buf_read_alloc(s, comedi_samples_to_bytes(s, nsamples));
 	comedi_buf_memcpy_from(s, data, nbytes);
 	comedi_buf_read_free(s, nbytes);
 	comedi_inc_scan_progress(s, nbytes);
@@ -689,4 +694,5 @@ unsigned int comedi_buf_read_samples(struct comedi_subdevice *s,
 
 	return nbytes;
 }
+
 EXPORT_SYMBOL_GPL(comedi_buf_read_samples);
drivers/comedi/comedi_fops.c +131 -109

519 lines not on this page · raw message

drivers/comedi/comedi_internal.h +3 -4
index 9b3631a654c8..2e6c3f22462a 100644
@@ -17,8 +17,7 @@ struct comedi_rangeinfo;
 struct comedi_subdevice;
 struct device;
 
-int do_rangeinfo_ioctl(struct comedi_device *dev,
-		       struct comedi_rangeinfo *it);
+int do_rangeinfo_ioctl(struct comedi_device *dev, struct comedi_rangeinfo *it);
 struct comedi_device *comedi_alloc_board_minor(struct device *hardware_device);
 void comedi_release_hardware_device(struct device *hardware_device);
 int comedi_alloc_subdevice_minor(struct comedi_subdevice *s);
@@ -32,8 +31,8 @@ void comedi_buf_map_get(struct comedi_buf_map *bm);
 int comedi_buf_map_put(struct comedi_buf_map *bm);
 int comedi_buf_map_access(struct comedi_buf_map *bm, unsigned long offset,
 			  void *buf, int len, int write);
-struct comedi_buf_map *
-comedi_buf_map_from_subdev_get(struct comedi_subdevice *s);
+struct comedi_buf_map *comedi_buf_map_from_subdev_get(struct comedi_subdevice
+						      *s);
 unsigned int comedi_buf_write_n_available(struct comedi_subdevice *s);
 unsigned int comedi_buf_write_n_allocated(struct comedi_subdevice *s);
 void comedi_device_cancel_all(struct comedi_device *dev);
drivers/comedi/comedi_pci.c +11 -2
index 54739af7eb71..df148e8a2d28 100644
@@ -26,6 +26,7 @@ struct pci_dev *comedi_to_pci_dev(struct comedi_device *dev)
 {
 	return dev->hw_dev ? to_pci_dev(dev->hw_dev) : NULL;
 }
+
 EXPORT_SYMBOL_GPL(comedi_to_pci_dev);
 
 /**
@@ -66,6 +67,7 @@ int comedi_pci_enable(struct comedi_device *dev)
 
 	return rc;
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_enable);
 
 /**
@@ -87,6 +89,7 @@ void comedi_pci_disable(struct comedi_device *dev)
 	}
 	dev->ioenabled = false;
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_disable);
 
 /**
@@ -120,6 +123,7 @@ void comedi_pci_detach(struct comedi_device *dev)
 	}
 	comedi_pci_disable(dev);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_detach);
 
 /**
@@ -138,11 +142,11 @@ EXPORT_SYMBOL_GPL(comedi_pci_detach);
  * a negative error number on failure).
  */
 int comedi_pci_auto_config(struct pci_dev *pcidev,
-			   struct comedi_driver *driver,
-			   unsigned long context)
+			   struct comedi_driver *driver, unsigned long context)
 {
 	return comedi_auto_config(&pcidev->dev, driver, context);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_auto_config);
 
 /**
@@ -163,6 +167,7 @@ void comedi_pci_auto_unconfig(struct pci_dev *pcidev)
 {
 	comedi_auto_unconfig(&pcidev->dev);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_auto_unconfig);
 
 /**
@@ -193,6 +198,7 @@ int comedi_pci_driver_register(struct comedi_driver *comedi_driver,
 
 	return 0;
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_driver_register);
 
 /**
@@ -210,17 +216,20 @@ void comedi_pci_driver_unregister(struct comedi_driver *comedi_driver,
 	pci_unregister_driver(pci_driver);
 	comedi_driver_unregister(comedi_driver);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pci_driver_unregister);
 
 static int __init comedi_pci_init(void)
 {
 	return 0;
 }
+
 module_init(comedi_pci_init);
 
 static void __exit comedi_pci_exit(void)
 {
 }
+
 module_exit(comedi_pci_exit);
 
 MODULE_AUTHOR("https://www.comedi.org");
drivers/comedi/comedi_pcmcia.c +11 -3
index bb273bb202e6..442dbf9422b1 100644
@@ -26,10 +26,10 @@ struct pcmcia_device *comedi_to_pcmcia_dev(struct comedi_device *dev)
 {
 	return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL;
 }
+
 EXPORT_SYMBOL_GPL(comedi_to_pcmcia_dev);
 
-static int comedi_pcmcia_conf_check(struct pcmcia_device *link,
-				    void *priv_data)
+static int comedi_pcmcia_conf_check(struct pcmcia_device *link, void *priv_data)
 {
 	if (link->config_index == 0)
 		return -EINVAL;
@@ -69,7 +69,7 @@ static int comedi_pcmcia_conf_check(struct pcmcia_device *link,
  *	or a negative error number from pcmcia_enable_device() if it fails.
  */
 int comedi_pcmcia_enable(struct comedi_device *dev,
-			 int (*conf_check)(struct pcmcia_device *p_dev,
+			 int (*conf_check)(struct pcmcia_device *p_dev,
 					   void *priv_data))
 {
 	struct pcmcia_device *link = comedi_to_pcmcia_dev(dev);
@@ -87,6 +87,7 @@ int comedi_pcmcia_enable(struct comedi_device *dev,
 
 	return pcmcia_enable_device(link);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_enable);
 
 /**
@@ -104,6 +105,7 @@ void comedi_pcmcia_disable(struct comedi_device *dev)
 	if (link)
 		pcmcia_disable_device(link);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_disable);
 
 /**
@@ -124,6 +126,7 @@ int comedi_pcmcia_auto_config(struct pcmcia_device *link,
 {
 	return comedi_auto_config(&link->dev, driver, 0);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_auto_config);
 
 /**
@@ -144,6 +147,7 @@ void comedi_pcmcia_auto_unconfig(struct pcmcia_device *link)
 {
 	comedi_auto_unconfig(&link->dev);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_auto_unconfig);
 
 /**
@@ -174,6 +178,7 @@ int comedi_pcmcia_driver_register(struct comedi_driver *comedi_driver,
 
 	return 0;
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_driver_register);
 
 /**
@@ -191,17 +196,20 @@ void comedi_pcmcia_driver_unregister(struct comedi_driver *comedi_driver,
 	pcmcia_unregister_driver(pcmcia_driver);
 	comedi_driver_unregister(comedi_driver);
 }
+
 EXPORT_SYMBOL_GPL(comedi_pcmcia_driver_unregister);
 
 static int __init comedi_pcmcia_init(void)
 {
 	return 0;
 }
+
 module_init(comedi_pcmcia_init);
 
 static void __exit comedi_pcmcia_exit(void)
 {
 }
+
 module_exit(comedi_pcmcia_exit);
 
 MODULE_AUTHOR("https://www.comedi.org");
drivers/comedi/comedi_pcmcia.h +1 -1
index f2f6e779645b..ec138a2e3d70 100644
@@ -18,7 +18,7 @@
 struct pcmcia_device *comedi_to_pcmcia_dev(struct comedi_device *dev);
 
 int comedi_pcmcia_enable(struct comedi_device *dev,
-			 int (*conf_check)(struct pcmcia_device *p_dev,
+			 int (*conf_check)(struct pcmcia_device *p_dev,
 					   void *priv_data));
 void comedi_pcmcia_disable(struct comedi_device *dev);
 
drivers/comedi/comedi_usb.c +9 -2
index eea8ebf32ed0..a71ebdb35150 100644
@@ -25,6 +25,7 @@ struct usb_interface *comedi_to_usb_interface(struct comedi_device *dev)
 {
 	return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL;
 }
+
 EXPORT_SYMBOL_GPL(comedi_to_usb_interface);
 
 /**
@@ -43,6 +44,7 @@ struct usb_device *comedi_to_usb_dev(struct comedi_device *dev)
 
 	return intf ? interface_to_usbdev(intf) : NULL;
 }
+
 EXPORT_SYMBOL_GPL(comedi_to_usb_dev);
 
 /**
@@ -61,11 +63,11 @@ EXPORT_SYMBOL_GPL(comedi_to_usb_dev);
  * a negative error number on failure).
  */
 int comedi_usb_auto_config(struct usb_interface *intf,
-			   struct comedi_driver *driver,
-			   unsigned long context)
+			   struct comedi_driver *driver, unsigned long context)
 {
 	return comedi_auto_config(&intf->dev, driver, context);
 }
+
 EXPORT_SYMBOL_GPL(comedi_usb_auto_config);
 
 /**
@@ -86,6 +88,7 @@ void comedi_usb_auto_unconfig(struct usb_interface *intf)
 {
 	comedi_auto_unconfig(&intf->dev);
 }
+
 EXPORT_SYMBOL_GPL(comedi_usb_auto_unconfig);
 
 /**
@@ -116,6 +119,7 @@ int comedi_usb_driver_register(struct comedi_driver *comedi_driver,
 
 	return 0;
 }
+
 EXPORT_SYMBOL_GPL(comedi_usb_driver_register);
 
 /**
@@ -133,17 +137,20 @@ void comedi_usb_driver_unregister(struct comedi_driver *comedi_driver,
 	usb_deregister(usb_driver);
 	comedi_driver_unregister(comedi_driver);
 }
+
 EXPORT_SYMBOL_GPL(comedi_usb_driver_unregister);
 
 static int __init comedi_usb_init(void)
 {
 	return 0;
 }
+
 module_init(comedi_usb_init);
 
 static void __exit comedi_usb_exit(void)
 {
 }
+
 module_exit(comedi_usb_exit);
 
 MODULE_AUTHOR("https://www.comedi.org");
drivers/comedi/comedidev.h +45 -44

141 lines not on this page · raw message

drivers/comedi/drivers.c +37 -20

244 lines not on this page · raw message

drivers/comedi/drivers/8255.c +5 -4
index e23335c75867..09196cc53378 100644
@@ -113,11 +113,12 @@ static void dev_8255_detach(struct comedi_device *dev)
 }
 
 static struct comedi_driver dev_8255_driver = {
-	.driver_name	= "8255",
-	.module		= THIS_MODULE,
-	.attach		= dev_8255_attach,
-	.detach		= dev_8255_detach,
+	.driver_name = "8255",
+	.module = THIS_MODULE,
+	.attach = dev_8255_attach,
+	.detach = dev_8255_detach,
 };
+
 module_comedi_driver(dev_8255_driver);
 
 MODULE_AUTHOR("Comedi https://www.comedi.org");
drivers/comedi/drivers/8255.h +2 -2
index ceae3ca52e60..98575605db00 100644
@@ -28,12 +28,12 @@ struct comedi_device;
 struct comedi_subdevice;
 
 int subdev_8255_init(struct comedi_device *dev, struct comedi_subdevice *s,
-		     int (*io)(struct comedi_device *dev, int dir, int port,
+		     int (*io)(struct comedi_device *dev, int dir, int port,
 			       int data, unsigned long regbase),
 		     unsigned long regbase);
 
 int subdev_8255_mm_init(struct comedi_device *dev, struct comedi_subdevice *s,
-			int (*io)(struct comedi_device *dev, int dir, int port,
+			int (*io)(struct comedi_device *dev, int dir, int port,
 				  int data, unsigned long regbase),
 			unsigned long regbase);
 
drivers/comedi/drivers/8255_pci.c +79 -77

199 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_1032.c +32 -32

116 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_1500.c +70 -81

304 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_1516.c +39 -39

133 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_1564.c +68 -70

244 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_16xx.c +26 -26

93 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_2032.c +32 -32

122 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_2200.c +24 -24

85 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_3120.c +80 -89

290 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_3501.c +43 -44

87 lines not on this page · raw message

drivers/comedi/drivers/addi_apci_3xxx.c +318 -305

623 lines not on this page · raw message

drivers/comedi/drivers/addi_watchdog.c +12 -9
index 69b323fb869f..8d1c875a5fb2 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/adl_pci6208.c +33 -35

68 lines not on this page · raw message

drivers/comedi/drivers/adl_pci7x3x.c +82 -80

162 lines not on this page · raw message

drivers/comedi/drivers/adl_pci8164.c +44 -44

88 lines not on this page · raw message

drivers/comedi/drivers/adl_pci9111.c +63 -65

128 lines not on this page · raw message

drivers/comedi/drivers/adl_pci9118.c +122 -134

256 lines not on this page · raw message

drivers/comedi/drivers/adq12b.c +39 -41

80 lines not on this page · raw message

drivers/comedi/drivers/adv_pci1710.c +185 -165

350 lines not on this page · raw message

drivers/comedi/drivers/adv_pci1720.c +30 -31

61 lines not on this page · raw message

drivers/comedi/drivers/adv_pci1723.c +27 -28

55 lines not on this page · raw message

drivers/comedi/drivers/adv_pci1724.c +37 -37

74 lines not on this page · raw message

drivers/comedi/drivers/adv_pci1760.c +40 -42

82 lines not on this page · raw message

drivers/comedi/drivers/adv_pci_dio.c +156 -161

317 lines not on this page · raw message

drivers/comedi/drivers/aio_aio12_8.c +38 -39

77 lines not on this page · raw message

drivers/comedi/drivers/aio_iiro_16.c +23 -22

45 lines not on this page · raw message

drivers/comedi/drivers/amplc_dio200.c +46 -49

95 lines not on this page · raw message

drivers/comedi/drivers/amplc_dio200.h +1 -1
index 745baaf940ee..6c0255eeced9 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_dio200_common.c +20 -21

41 lines not on this page · raw message

drivers/comedi/drivers/amplc_dio200_pci.c +67 -70

137 lines not on this page · raw message

drivers/comedi/drivers/amplc_pc236.c +2 -2
index c377af1d5246..51568c33c698 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_pc236.h +3 -3
index 7e72729f7492..8d55af8549fe 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_pc236_common.c +4 -1
index 981d281e87a1..f354c4514a55 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_pc263.c +17 -18
index 68da6098ee84..e9dc252659b8 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_pci224.c +63 -63

126 lines not on this page · raw message

drivers/comedi/drivers/amplc_pci230.c +121 -123

244 lines not on this page · raw message

drivers/comedi/drivers/amplc_pci236.c +4 -4
index e7f6fa4d101a..c2ade02ab6c1 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/amplc_pci263.c +19 -18
index 9217973f1141..f40a67cbed20 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/c6xdigio.c +26 -29

55 lines not on this page · raw message

drivers/comedi/drivers/cb_das16_cs.c +62 -66

128 lines not on this page · raw message

drivers/comedi/drivers/cb_pcidas.c +174 -179

353 lines not on this page · raw message

drivers/comedi/drivers/cb_pcidas64.c +579 -596

1,175 lines not on this page · raw message

drivers/comedi/drivers/cb_pcidda.c +51 -51

102 lines not on this page · raw message

drivers/comedi/drivers/cb_pcimdas.c +61 -65

126 lines not on this page · raw message

drivers/comedi/drivers/cb_pcimdda.c +21 -20

41 lines not on this page · raw message

drivers/comedi/drivers/comedi_8254.c +40 -31

71 lines not on this page · raw message

drivers/comedi/drivers/comedi_8254.h +5 -5
index d8264417e53c..88ca3e7474a9 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/comedi_8255.c +20 -18
index b7ca465933ee..1a70b2627724 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/comedi_bond.c +8 -6
index 4392b5927a99..44a4bf9e9316 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/comedi_isadma.c +10 -1
index 479b58e209ba..7c6afd299b06 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/comedi_isadma.h +9 -7
index 9d2b12db7e6e..cbdc686b6d36 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/comedi_parport.c +35 -35

70 lines not on this page · raw message

drivers/comedi/drivers/comedi_test.c +45 -42

87 lines not on this page · raw message

drivers/comedi/drivers/contec_pci_dio.c +23 -22

45 lines not on this page · raw message

drivers/comedi/drivers/dac02.c +19 -19
index 5ef8114c2c85..c7086a47c219 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/daqboard2000.c +70 -69

139 lines not on this page · raw message

drivers/comedi/drivers/das08.c +52 -52

104 lines not on this page · raw message

drivers/comedi/drivers/das08_cs.c +19 -17
index 223479f9ea3c..1c8edc3d60d1 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/das08_isa.c +130 -126

256 lines not on this page · raw message

drivers/comedi/drivers/das08_pci.c +20 -19
index 1cd903336a4c..c19cb6cfe0b6 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/das16.c +498 -291

789 lines not on this page · raw message

drivers/comedi/drivers/das16m1.c +48 -53

101 lines not on this page · raw message

drivers/comedi/drivers/das1800.c +166 -172

338 lines not on this page · raw message

drivers/comedi/drivers/das6402.c +72 -83

155 lines not on this page · raw message

drivers/comedi/drivers/das800.c +114 -118

232 lines not on this page · raw message

drivers/comedi/drivers/dmm32at.c +57 -60

117 lines not on this page · raw message

drivers/comedi/drivers/dt2801.c +36 -38

74 lines not on this page · raw message

drivers/comedi/drivers/dt2811.c +95 -101

196 lines not on this page · raw message

drivers/comedi/drivers/dt2814.c +9 -10
index ed44ce0d151b..742e24379738 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/dt2815.c +7 -8
index 5906f32aa01f..2dba8b64ef11 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/dt2817.c +7 -8
index 7c1463e835d3..cb2f91e1fd43 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/dt282x.c +218 -210

428 lines not on this page · raw message

drivers/comedi/drivers/dt3000.c +106 -111

217 lines not on this page · raw message

drivers/comedi/drivers/dt9812.c +52 -57

109 lines not on this page · raw message

drivers/comedi/drivers/dyna_pci10xx.c +15 -14
index c224422bb126..22ac738ee12a 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/fl512.c +27 -28

55 lines not on this page · raw message

drivers/comedi/drivers/gsc_hpdi.c +36 -32

68 lines not on this page · raw message

drivers/comedi/drivers/icp_multi.c +46 -50

96 lines not on this page · raw message

drivers/comedi/drivers/ii_pci20kc.c +42 -49

91 lines not on this page · raw message

drivers/comedi/drivers/jr3_pci.c +49 -50

99 lines not on this page · raw message

drivers/comedi/drivers/jr3_pci.h +63 -63

126 lines not on this page · raw message

drivers/comedi/drivers/ke_counter.c +29 -32

61 lines not on this page · raw message

drivers/comedi/drivers/me4000.c +150 -159

309 lines not on this page · raw message

drivers/comedi/drivers/me_daq.c +62 -68

130 lines not on this page · raw message

drivers/comedi/drivers/mf6x4.c +44 -48

92 lines not on this page · raw message

drivers/comedi/drivers/mite.c +21 -5
index 70960e3ba878..50e1c76075dc 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/mpc624.c +36 -37

73 lines not on this page · raw message

drivers/comedi/drivers/multiq3.c +47 -51

98 lines not on this page · raw message

drivers/comedi/drivers/ni_6527.c +48 -54

102 lines not on this page · raw message

drivers/comedi/drivers/ni_65xx.c +147 -149

296 lines not on this page · raw message

drivers/comedi/drivers/ni_660x.c +255 -258

513 lines not on this page · raw message

drivers/comedi/drivers/ni_670x.c +25 -27

52 lines not on this page · raw message

drivers/comedi/drivers/ni_at_a2150.c +18 -18
index 10ad7b88713e..4bb8e608f76b 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_at_ao.c +37 -40

77 lines not on this page · raw message

drivers/comedi/drivers/ni_atmio.c +132 -133

265 lines not on this page · raw message

drivers/comedi/drivers/ni_atmio16d.c +38 -41

79 lines not on this page · raw message

drivers/comedi/drivers/ni_daq_700.c +38 -40

78 lines not on this page · raw message

drivers/comedi/drivers/ni_daq_dio24.c +14 -13
index 44fb65afc218..1bb9a2ff47ee 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_labpc.c +23 -22

45 lines not on this page · raw message

drivers/comedi/drivers/ni_labpc.h +7 -6
index 728e901f53cd..79d1499f68ec 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_labpc_common.c +92 -100

192 lines not on this page · raw message

drivers/comedi/drivers/ni_labpc_cs.c +17 -15
index 4f7e2fe21254..4b84fe2e618b 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_labpc_isadma.c +7 -0
index a551aca6e615..a14a11db10bf 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_labpc_pci.c +17 -16
index ec180b0fedf7..a7b3c108e238 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_labpc_regs.h +2 -2
index ace40065a25b..6b1b06840b45 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_mio_common.c +531 -576

1,107 lines not on this page · raw message

drivers/comedi/drivers/ni_mio_cs.c +80 -79

159 lines not on this page · raw message

drivers/comedi/drivers/ni_pcidio.c +32 -37

69 lines not on this page · raw message

drivers/comedi/drivers/ni_pcimio.c +886 -883

1,769 lines not on this page · raw message

drivers/comedi/drivers/ni_routes.c +19 -11
index f0f8cd424b30..26414f3bf5d8 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_routes.h +7 -9
index 036982315584..e306d3ef7915 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_stc.h +10 -10
index fbc0b753a0f5..5b041c22ec75 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_tio.c +74 -49

123 lines not on this page · raw message

drivers/comedi/drivers/ni_tio.h +22 -16
index e7b05718df9b..ebc5a0900c9e 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_tiocmd.c +21 -14
index ab6d9e8269f3..7b395bc59028 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ni_usb6501.c +93 -95

188 lines not on this page · raw message

drivers/comedi/drivers/pcl711.c +98 -102

200 lines not on this page · raw message

drivers/comedi/drivers/pcl724.c +45 -46

91 lines not on this page · raw message

drivers/comedi/drivers/pcl726.c +75 -79

154 lines not on this page · raw message

drivers/comedi/drivers/pcl730.c +146 -135

281 lines not on this page · raw message

drivers/comedi/drivers/pcl812.c +427 -323

750 lines not on this page · raw message

drivers/comedi/drivers/pcl816.c +64 -70

134 lines not on this page · raw message

drivers/comedi/drivers/pcl818.c +141 -147

288 lines not on this page · raw message

drivers/comedi/drivers/pcm3724.c +6 -6
index 0cb1ad060402..87250afa391a 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/pcmad.c +26 -27

53 lines not on this page · raw message

drivers/comedi/drivers/pcmda12.c +18 -19
index 14ab1f0d1e9f..901cee3f9fa5 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/pcmmio.c +59 -65

124 lines not on this page · raw message

drivers/comedi/drivers/pcmuio.c +32 -34

66 lines not on this page · raw message

drivers/comedi/drivers/plx9052.h +2 -2
index e68a7afef025..7be9ab615bcc 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/plx9080.h +5 -5
index aa0eda5a8093..3c21bb575919 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/quatech_daqp_cs.c +57 -65

122 lines not on this page · raw message

drivers/comedi/drivers/rtd520.c +111 -116

227 lines not on this page · raw message

drivers/comedi/drivers/rti800.c +66 -71

137 lines not on this page · raw message

drivers/comedi/drivers/rti802.c +13 -13
index 195e2b1ac4c1..42b9f831a1e4 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/s526.c +50 -58

108 lines not on this page · raw message

drivers/comedi/drivers/s626.c +158 -174

332 lines not on this page · raw message

drivers/comedi/drivers/s626.h +19 -19
index 749252b1d26b..fa40c7a87ede 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/ssv_dnp.c +10 -11
index 016d315aa584..483914cb3ee1 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/tests/comedi_example_test.c +3 -1
index 81d074bcdea5..1e2a813e6b2c 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/tests/ni_routes_test.c +70 -68

138 lines not on this page · raw message

drivers/comedi/drivers/tests/unittest.h +2 -2
index b0b34e058aad..858380c7bba9 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/drivers/usbdux.c +88 -111

199 lines not on this page · raw message

drivers/comedi/drivers/usbduxfast.c +42 -50

92 lines not on this page · raw message

drivers/comedi/drivers/usbduxsigma.c +83 -93

176 lines not on this page · raw message

drivers/comedi/drivers/vmk80xx.c +104 -114

218 lines not on this page · raw message

drivers/comedi/drivers/z8536.h +33 -33

66 lines not on this page · raw message

drivers/comedi/kcomedilib/kcomedilib_main.c +8 -2
index df9bba1b69ed..e434ba881952 100644

Lines of this file are not shown. View the raw message.

drivers/comedi/range.c +23 -14
index a4e6fe0fb729..ec33724d6576 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 3 lines · On Fri, Jul 23, 2021 at 12:09:27AM +0300, vpuh1 wrote:

Indented files in drivers/comedi directory using scripts/Lindent.

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree.

You are receiving this message because of the following common error(s) as indicated below:

- Your patch contains warnings and/or errors noticed by the scripts/checkpatch.pl tool.

- Your patch did many different things all at once, making it difficult to review. All Linux kernel patches need to only do one thing at a time. If you need to do multiple things (such as clean up all coding style issues in a file/driver), do it in a sequence of patches, each one doing only one thing. This will make it easier to review the patches to ensure that they are correct, and to help alleviate any merge issues that larger patches can cause.

- You did not specify a description of why the patch is needed, or possibly, any description at all, in the email body. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change.

- You did not write a descriptive Subject: for the patch, allowing Greg, and everyone else, to know what this patch is all about. Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what a proper Subject: line should look like.

- It looks like you did not use your "real" name for the patch on either the Signed-off-by: line, or the From: line (both of which have to match). Please read the kernel file, Documentation/SubmittingPatches for how to do this correctly.

If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers.

thanks,

greg k-h's patch email bot