]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: Align the * on block comments
authorJakub Jedelsky <jakub.jedelsky@gmail.com>
Tue, 4 Oct 2016 22:32:55 +0000 (00:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:06 +0000 (10:25 +0200)
Block comments should align the * on each line as reported by checkpatch

Signed-off-by: Jakub Jedelsky <jakub.jedelsky@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidda.c
drivers/staging/comedi/drivers/mite.c
drivers/staging/comedi/drivers/pcl818.c

index ccb37d1f0f8eeddc9e8495711da1c220e5c465ec..98741474160514edd39a11132c3d88a648eab16e 100644 (file)
@@ -248,8 +248,8 @@ static void cb_pcidda_write_caldac(struct comedi_device *dev,
        cb_pcidda_serial_out(dev, value, num_caldac_bits);
 
 /*
-* latch stream into appropriate caldac deselect reference dac
-*/
+ * latch stream into appropriate caldac deselect reference dac
+ */
        cal2_bits = DESELECT_REF_DAC_BIT | DUMMY_BIT;
        /*  deactivate caldacs (one caldac for every two channels) */
        for (i = 0; i < max_num_caldacs; i++)
index b1c0860135d0156a6bc7305b2316d936c2846546..05126ba4ba51bd804fc5f91413acbe8c7c6fd590 100644 (file)
@@ -837,7 +837,7 @@ static int mite_setup(struct comedi_device *dev, struct mite *mite,
         * of 0x61f and bursts worked. 6281 powered up with register value of
         * 0x1f and bursts didn't work. The NI windows driver reads the
         * register, then does a bitwise-or of 0x600 with it and writes it back.
-       *
+        *
         * The bits 0x90180700 in MITE_UNKNOWN_DMA_BURST_REG can be
         * written and read back.  The bits 0x1f always read as 1.
         * The rest always read as zero.
index 5aeed44dff706787eb75024afd142f1a77e43da6..5b5df0596ad982c9077100b436fcb143cba60982 100644 (file)
@@ -771,9 +771,9 @@ static int pcl818_ai_cancel(struct comedi_device *dev,
                     s->async->scans_done < cmd->stop_arg)) {
                        if (!devpriv->ai_cmd_canceled) {
                                /*
-                               * Wait for running dma transfer to end,
-                               * do cleanup in interrupt.
-                               */
+                                * Wait for running dma transfer to end,
+                                * do cleanup in interrupt.
+                                */
                                devpriv->ai_cmd_canceled = 1;
                                return 0;
                        }