Skip to contentSkip to conversation

staging: greybus: fix block comments use trailing */

PATCH In review Elizabeth Ferdman 2 participants 2 messages Oct 4, 2016 – Oct 9, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: greybus: fix block comments use trailing */

Fix checkpatch error "Block comments use a trailing */ on a separate line" to conform to kernel coding style.

---
 drivers/staging/greybus/arche-apb-ctrl.c | 5 +++--
 drivers/staging/greybus/arche-platform.c | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
drivers/staging/greybus/arche-apb-ctrl.c +3 -2
index 70323aa..89932ab 100644
@@ -183,7 +183,7 @@ static int standby_boot_seq(struct platform_device *pdev)
 	 * Pasted from WDM spec,
 	 *  - A falling edge on POWEROFF_L is detected (a)
 	 *  - WDM enters standby mode, but no output signals are changed
-	 * */
+	 */
 
 	/* TODO: POWEROFF_L is input to WDM module  */
 	apb->state = ARCHE_PLATFORM_STATE_STANDBY;
@@ -286,7 +286,8 @@ static ssize_t state_store(struct device *dev,
 			return count;
 
 		/* First we want to make sure we power off everything
-		 * and then enter FW flashing state */
+		 * and then enter FW flashing state
+		 */
 		poweroff_seq(pdev);
 		ret = fw_flashing_seq(pdev);
 	} else {
drivers/staging/greybus/arche-platform.c +2 -1
index e36ee98..a850f6b 100644
@@ -455,7 +455,8 @@ retry:
 			goto exit;
 
 		/* First we want to make sure we power off everything
-		 * and then activate back again */
+		 * and then activate back again
+		 */
 		device_for_each_child(arche_pdata->dev, NULL, apb_poweroff);
 		arche_platform_poweroff_seq(arche_pdata);
 
Signature · 1 line
2.1.4
maintainer
#1 lore raw
Quoted 9 lines · Elizabeth Ferdman

Fix checkpatch error "Block comments use a trailing */ on a separate line" to conform to kernel coding style.

---
 drivers/staging/greybus/arche-apb-ctrl.c | 5 +++--
 drivers/staging/greybus/arche-platform.c | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

Patch did not apply to my tree :(