[PATCH v4] staging: greybus: Fix a commit coding style issue.

2016-10-03 Thread Sidhant Gupta
Fixes a comment coding style warning by adding 2 blank lines. Issue
found by checkpatch.

Signed-off-by: Sidhant Gupta <guptasidhant...@gmail.com>
---

Changes since v3:
* Corrected checkpatch.pl error earlier caused by this patch.

 drivers/staging/greybus/arche-apb-ctrl.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/arche-apb-ctrl.c 
b/drivers/staging/greybus/arche-apb-ctrl.c
index 70323aa..103d629 100644
--- a/drivers/staging/greybus/arche-apb-ctrl.c
+++ b/drivers/staging/greybus/arche-apb-ctrl.c
@@ -285,8 +285,10 @@ static ssize_t state_store(struct device *dev,
if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING)
return count;
 
-   /* First we want to make sure we power off everything
-* and then enter FW flashing state */
+   /*
+* First we want to make sure we power off everything
+* and then enter FW flashing state
+*/
poweroff_seq(pdev);
ret = fw_flashing_seq(pdev);
} else {
-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH v3] staging: greybus: Fix a comment coding style issue

2016-09-28 Thread Sidhant Gupta
Fixes a comment coding style warning by adding 2 blank lines. Issue
found by checkpatch.

Signed-off-by: Sidhant Gupta <guptasidhant...@gmail.com>
---

Changes since v2:
* Wrapped commit comment message at 72 characters.
* Edited word in subject line from `commit` to `comment`.

 drivers/staging/greybus/arche-apb-ctrl.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/arche-apb-ctrl.c 
b/drivers/staging/greybus/arche-apb-ctrl.c
index 70323aa..892da8e 100644
--- a/drivers/staging/greybus/arche-apb-ctrl.c
+++ b/drivers/staging/greybus/arche-apb-ctrl.c
@@ -285,8 +285,10 @@ static ssize_t state_store(struct device *dev,
if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING)
return count;
 
-   /* First we want to make sure we power off everything
-* and then enter FW flashing state */
+   /* 
+* First we want to make sure we power off everything
+* and then enter FW flashing state
+*/
poweroff_seq(pdev);
ret = fw_flashing_seq(pdev);
} else {
-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH v2] staging: greybus: Fix a commit coding style issue.

2016-09-23 Thread Sidhant Gupta
Fixes a comment coding style warning by adding 2 blank lines. Issue found by 
checkpatch.

Signed-off-by: Sidhant Gupta <guptasidhant...@gmail.com>
---

Changes since v1:
* Corrected name in `From: ` and `Signed-off-by: ` sections.
* Cc-ed mailing list.
* Made commit message more clear.

 drivers/staging/greybus/arche-apb-ctrl.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/arche-apb-ctrl.c 
b/drivers/staging/greybus/arche-apb-ctrl.c
index 59d9d42..d811158 100644
--- a/drivers/staging/greybus/arche-apb-ctrl.c
+++ b/drivers/staging/greybus/arche-apb-ctrl.c
@@ -285,8 +285,10 @@ static ssize_t state_store(struct device *dev,
if (apb->state == ARCHE_PLATFORM_STATE_FW_FLASHING)
return count;
 
-   /* First we want to make sure we power off everything
-* and then enter FW flashing state */
+   /* 
+* First we want to make sure we power off everything
+* and then enter FW flashing state
+*/
poweroff_seq(pdev);
ret = fw_flashing_seq(pdev);
} else {
-- 
2.7.4

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel