]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: fbtft: fbtft_device: Fix checkpatch warning
authorAnson Jacob <ansonjacob.aj@gmail.com>
Thu, 25 Aug 2016 15:31:58 +0000 (11:31 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 16:03:22 +0000 (18:03 +0200)
Fix checkpatch.pl warning:
Block comments use * on subsequent lines
Block comments use a trailing */ on a separate line

Signed-off-by: Anson Jacob <ansonjacob.aj@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft_device.c

index 4d1f1e98913c34265532c687268b9200397a05c4..924abd3ac0d65a894562335e4adbdfe889c76248 100644 (file)
@@ -1215,7 +1215,8 @@ static struct fbtft_device_display displays[] = {
                }
        }, {
                /* This should be the last item.
-                  Used with the custom argument */
+                * Used with the custom argument
+                */
                .name = "",
                .spi = &(struct spi_board_info) {
                        .modalias = "",
@@ -1306,8 +1307,9 @@ static struct fbtft_gpio fbtft_device_param_gpios[MAX_GPIOS + 1] = { };
 static void fbtft_device_pdev_release(struct device *dev)
 {
 /* Needed to silence this message:
-Device 'xxx' does not have a release() function, it is broken and must be fixed
-*/
+ * Device 'xxx' does not have a release() function,
+ * it is broken and must be fixed
+ */
 }
 
 static int spi_device_found(struct device *dev, void *data)