]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: media: lirc: Format block comments.
authorElise Lennion <elise.lennion@gmail.com>
Sun, 9 Oct 2016 03:50:29 +0000 (00:50 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:00 +0000 (10:25 +0200)
Fix checkpatch warning:

WARNING: Block comments use a trailing */ on a separate line

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_sasem.c

index 4678ae10b0300fb4ac27e90ebb6e7bc24ab3826c..920c4a1290f49e6b8b672af0a85451d5c1a7b158 100644 (file)
@@ -103,7 +103,8 @@ struct sasem_context {
 
        struct tx_t {
                unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data
-                                                           * buffer */
+                                                           * buffer
+                                                           */
                struct completion finished;  /* wait for write to finish  */
                atomic_t busy;               /* write in progress */
                int status;                  /* status of tx completion */
@@ -295,7 +296,8 @@ static int vfd_close(struct inode *inode, struct file *file)
                if (!context->dev_present && !context->ir_isopen) {
                        /* Device disconnected before close and IR port is
                         * not open. If IR port is open, context will be
-                        * deleted by ir_close. */
+                        * deleted by ir_close.
+                        */
                        mutex_unlock(&context->ctx_lock);
                        delete_context(context);
                        return retval;
@@ -397,7 +399,8 @@ static ssize_t vfd_write(struct file *file, const char __user *buf,
 
        /* Nine 8 byte packets to be sent */
        /* NOTE: "\x07\x01\0\0\0\0\0\0" or "\x0c\0\0\0\0\0\0\0"
-        *       will clear the VFD */
+        *       will clear the VFD
+        */
        for (i = 0; i < 9; i++) {
                switch (i) {
                case 0: