Skip to contentSkip to conversation

staging: vt6655: power.c: Fix checkpatch warning

PATCH In review Anson Jacob 2 participants 2 messages Aug 8, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6655: power.c: Fix checkpatch warning

Fix checkpatch.pl warning for trailing */ on a separate line Remove '+' postfix and '-' prefix from the start and end of block comments

---
 drivers/staging/vt6655/power.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/vt6655/power.c +6 -6
index bc8ca98..7d6e746 100644
@@ -52,7 +52,7 @@
 
 /*---------------------  Export Functions  --------------------------*/
 
-/*+
+/*
  *
  * Routine Description:
  * Enable hw power saving functions
@@ -60,7 +60,7 @@
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 void
 PSvEnablePowerSaving(
@@ -104,7 +104,7 @@ PSvEnablePowerSaving(
 	pr_debug("PS:Power Saving Mode Enable...\n");
 }
 
-/*+
+/*
  *
  * Routine Description:
  * Disable hw power saving functions
@@ -112,7 +112,7 @@ PSvEnablePowerSaving(
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 void
 PSvDisablePowerSaving(
@@ -134,7 +134,7 @@ PSvDisablePowerSaving(
 }
 
 
-/*+
+/*
  *
  * Routine Description:
  * Check if Next TBTT must wake up
@@ -142,7 +142,7 @@ PSvDisablePowerSaving(
  * Return Value:
  *    None.
  *
- -*/
+ */
 
 bool
 PSbIsNextTBTTWakeUp(
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Anson Jacob

Fix checkpatch.pl warning for trailing */ on a separate line Remove '+' postfix and '-' prefix from the start and end of block comments

Those /*+ uses should probably be converted to /** for kernel-doc

Quoted 63 lines

---
 drivers/staging/vt6655/power.c | 12 ++++++------

 1 file changed, 6 insertions(+), 6 deletions(-)
drivers/staging/vt6655/power.c +0 -0
index bc8ca98..7d6e746 100644
@@ -52,7 +52,7 @@


 /*---------------------  Export Functions  --------------------------*/

drivers/staging/vt6655/power.c +1 -1
-/*+
+/*

  *
  * Routine Description:
  * Enable hw power saving functions

drivers/staging/vt6655/power.c +1 -1
@@ -60,7 +60,7 @@
   * Return Value:
   *    None.
   *
- -*/
+ */


 void
 PSvEnablePowerSaving(

drivers/staging/vt6655/power.c +0 -0
@@ -104,7 +104,7 @@ PSvEnablePowerSaving(
  	pr_debug("PS:Power Saving Mode Enable...\n");
  }

drivers/staging/vt6655/power.c +1 -1
-/*+
+/*

  *
  * Routine Description:
  * Disable hw power saving functions

drivers/staging/vt6655/power.c +1 -1
@@ -112,7 +112,7 @@ PSvEnablePowerSaving(
   * Return Value:
   *    None.
   *
- -*/
+ */


 void
 PSvDisablePowerSaving(

drivers/staging/vt6655/power.c +0 -0
@@ -134,7 +134,7 @@ PSvDisablePowerSaving(
  }


drivers/staging/vt6655/power.c +1 -1
-/*+
+/*

  *
  * Routine Description:
  * Check if Next TBTT must wake up

drivers/staging/vt6655/power.c +1 -1
@@ -142,7 +142,7 @@ PSvDisablePowerSaving(
   * Return Value:
   *    None.
   *
- -*/
+ */


 bool
 PSbIsNextTBTTWakeUp(