This is a patch to the s626.c file that fixes up a Block comments
issues found by the checkpatch.pl tool.
i.e. Block comments use a trailing */ on a separate line
Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankarkm32@xxxxxxxxx>
---
drivers/staging/comedi/drivers/s626.c | 60 +++++++++++++++++++++++------------
1 file changed, 40 insertions(+), 20 deletions(-)
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c
index c5e0863..0e1f535 100644
--- a/drivers/staging/comedi/drivers/s626.c
+++ b/drivers/staging/comedi/drivers/s626.c
@@ -76,24 +76,38 @@ struct s626_buffer_dma {
struct s626_private {
uint8_t ai_cmd_running; /* ai_cmd is running */
- unsigned int ai_sample_timer; /* time between samples in
- * units of the timer */
+ unsigned int ai_sample_timer; /*
+ * time between samples in
+ * units of the timer
+ */
int ai_convert_count; /* conversion counter */
- unsigned int ai_convert_timer; /* time between conversion in
- * units of the timer */
- uint16_t counter_int_enabs; /* counter interrupt enable mask
- * for MISC2 register */
+ unsigned int ai_convert_timer; /*
+ * time between conversion in
+ * units of the timer
+ */
+ u16 counter_int_enabs; /*
+ * counter interrupt enable mask
+ * for MISC2 register
+ */
uint8_t adc_items; /* number of items in ADC poll list */
- struct s626_buffer_dma rps_buf; /* DMA buffer used to hold ADC (RPS1)
- * program */
- struct s626_buffer_dma ana_buf; /* DMA buffer used to receive ADC data
- * and hold DAC data */
- uint32_t *dac_wbuf; /* pointer to logical adrs of DMA buffer
- * used to hold DAC data */
+ struct s626_buffer_dma rps_buf; /*
+ * DMA buffer used to hold ADC (RPS1)
+ * program
+ */
+ struct s626_buffer_dma ana_buf; /*
+ * DMA buffer used to receive ADC data
+ * and hold DAC data
+ */
+ u32 *dac_wbuf; /*
+ * pointer to logical adrs of DMA buffer
+ * used to hold DAC data
+ */
uint16_t dacpol; /* image of DAC polarity register */
uint8_t trim_setpoint[12]; /* images of TrimDAC setpoints */
- uint32_t i2c_adrs; /* I2C device address for onboard EEPROM
- * (board rev dependent) */
+ u32 i2c_adrs; /*
+ * I2C device address for onboard EEPROM
+ * (board rev dependent)
+ */
};