staging: iio: use kernel preferred block commenting style
authorAlison Schofield <amsfield22@gmail.com>
Mon, 21 Mar 2016 22:39:53 +0000 (15:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Use * on subsequent lines and trailing */ on a separate
line in block comments.

Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/impedance-analyzer/ad5933.c
drivers/staging/iio/meter/ade7753.c
drivers/staging/iio/meter/ade7754.c
drivers/staging/iio/meter/ade7758_core.c
drivers/staging/iio/meter/ade7759.c
drivers/staging/iio/meter/ade7854.c

index f843f19cf67550f4c034506cf0d2c125d4352d57..f91468e20b847a9b0ad159a477af4cdc1643ae30 100644 (file)
 #define AD7192_REG_DATA                3 /* Data Register           (RO, 24/32-bit) */
 #define AD7192_REG_ID          4 /* ID Register             (RO, 8-bit) */
 #define AD7192_REG_GPOCON      5 /* GPOCON Register         (RO, 8-bit) */
-#define AD7192_REG_OFFSET      6 /* Offset Register         (RW, 16-bit
-                                  * (AD7792)/24-bit (AD7192)) */
-#define AD7192_REG_FULLSALE    7 /* Full-Scale Register
-                                  * (RW, 16-bit (AD7792)/24-bit (AD7192)) */
+#define AD7192_REG_OFFSET      6 /* Offset Register         (RW, 16-bit */
+                                 /* (AD7792)/24-bit (AD7192)) */
+#define AD7192_REG_FULLSALE    7 /* Full-Scale Register */
+                                 /* (RW, 16-bit (AD7792)/24-bit (AD7192)) */
 
 /* Communications Register Bit Designations (AD7192_REG_COMM) */
 #define AD7192_COMM_WEN                BIT(7) /* Write Enable */
 #define AD7192_MODE_CAL_SYS_FULL       7 /* System Full-Scale Calibration */
 
 /* Mode Register: AD7192_MODE_CLKSRC options */
-#define AD7192_CLK_EXT_MCLK1_2         0 /* External 4.92 MHz Clock connected
-                                          * from MCLK1 to MCLK2 */
+#define AD7192_CLK_EXT_MCLK1_2         0 /* External 4.92 MHz Clock connected*/
+                                         /* from MCLK1 to MCLK2 */
 #define AD7192_CLK_EXT_MCLK2           1 /* External Clock applied to MCLK2 */
-#define AD7192_CLK_INT                 2 /* Internal 4.92 MHz Clock not
-                                          * available at the MCLK2 pin */
-#define AD7192_CLK_INT_CO              3 /* Internal 4.92 MHz Clock available
-                                          * at the MCLK2 pin */
+#define AD7192_CLK_INT                 2 /* Internal 4.92 MHz Clock not */
+                                         /* available at the MCLK2 pin */
+#define AD7192_CLK_INT_CO              3 /* Internal 4.92 MHz Clock available*/
+                                         /* at the MCLK2 pin */
 
 /* Configuration Register Bit Designations (AD7192_REG_CONF) */
 
index 620b33a61a2d4950f5089dd6faf078192f83783c..e6fdb3d54e25413d0cb42c524e31b8a10ec0ecba 100644 (file)
@@ -691,8 +691,9 @@ static void ad5933_work(struct work_struct *work)
        }
 
        if (status & AD5933_STAT_SWEEP_DONE) {
-               /* last sample received - power down do nothing until
-                * the ring enable is toggled */
+               /* last sample received - power down do
+                * nothing until the ring enable is toggled
+                */
                ad5933_cmd(st, AD5933_CTRL_POWER_DOWN);
        } else {
                /* we just received a valid datum, move on to the next */
index b0bc99a958c539a3c38820f6a1c27561c38b06a2..4b5f05fdadcdf209774afc7582f8478b309f3d5c 100644 (file)
@@ -333,7 +333,8 @@ static int ade7753_set_irq(struct device *dev, bool enable)
 
        if (enable)
                irqen |= BIT(3); /* Enables an interrupt when a data is
-                                   present in the waveform register */
+                                 * present in the waveform register
+                                 */
        else
                irqen &= ~BIT(3);
 
index fed11804d54890438b06eced10515ab49878b5de..c46bef641613d82410195ad6b563d672ee26b5bb 100644 (file)
@@ -351,7 +351,8 @@ static int ade7754_set_irq(struct device *dev, bool enable)
 
        if (enable)
                irqen |= BIT(14); /* Enables an interrupt when a data is
-                                    present in the waveform register */
+                                  * present in the waveform register
+                                  */
        else
                irqen &= ~BIT(14);
 
index 310296573e5218156db6769df3e2e7d16f505684..ebb8a199330374b904a7852daa339a85d3662f49 100644 (file)
@@ -413,7 +413,8 @@ int ade7758_set_irq(struct device *dev, bool enable)
 
        if (enable)
                irqen |= BIT(16); /* Enables an interrupt when a data is
-                                    present in the waveform register */
+                                  * present in the waveform register
+                                  */
        else
                irqen &= ~BIT(16);
 
index c14892db7e4cb5a7eada11c1c8e85f94c30e092c..80144d40d9cac9f6a6d78d8a113c3ed32abd0740 100644 (file)
@@ -289,7 +289,8 @@ static int ade7759_set_irq(struct device *dev, bool enable)
 
        if (enable)
                irqen |= BIT(3); /* Enables an interrupt when a data is
-                                   present in the waveform register */
+                                 * present in the waveform register
+                                 */
        else
                irqen &= ~BIT(3);
 
index 9e439af7100db47eed17171d1f29d6ba5a0e0c0c..75e8685e6df23b7fc4232d1e61010a148093f0e9 100644 (file)
@@ -421,7 +421,8 @@ static int ade7854_set_irq(struct device *dev, bool enable)
 
        if (enable)
                irqen |= BIT(17); /* 1: interrupt enabled when all periodical
-                                    (at 8 kHz rate) DSP computations finish. */
+                                  * (at 8 kHz rate) DSP computations finish.
+                                  */
        else
                irqen &= ~BIT(17);
 
This page took 0.032848 seconds and 5 git commands to generate.