Re: [greybus-dev] [PATCH v3] staging: greybus: arche: wrap over-length lines

2017-07-10 Thread Viresh Kumar
On 10-07-17, 23:14, Mitchell Tasman wrote:
> Adjust formatting of several comments to keep line length within
> the 80 column limit preferred by the Linux kernel coding style.
> 
> Signed-off-by: Mitchell Tasman 
> ---
> Changes in v3: Narrow scope of patch per Viresh Kumar's feedback
> Changes in v2: Add back a missing space in a comment
> 
>  drivers/staging/greybus/arche-platform.c | 11 ---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/greybus/arche-platform.c 
> b/drivers/staging/greybus/arche-platform.c
> index eced2d2..6259904 100644
> --- a/drivers/staging/greybus/arche-platform.c
> +++ b/drivers/staging/greybus/arche-platform.c
> @@ -176,7 +176,10 @@ static irqreturn_t arche_platform_wd_irq(int irq, void 
> *devid)
>   
> arche_platform_set_wake_detect_state(arche_pdata,
>
> WD_STATE_IDLE);
>   } else {
> - /* Check we are not in middle of irq thread 
> already */
> + /*
> +  * Check we are not in middle of irq thread
> +  * already
> +  */
>   if (arche_pdata->wake_detect_state !=
>   WD_STATE_COLDBOOT_START) {
>   
> arche_platform_set_wake_detect_state(arche_pdata,
> @@ -657,12 +660,14 @@ static SIMPLE_DEV_PM_OPS(arche_platform_pm_ops,
>   arche_platform_resume);
>  
>  static const struct of_device_id arche_platform_of_match[] = {
> - { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC 
> device */
> + /* Use PID/VID of SVC device */
> + { .compatible = "google,arche-platform", },
>   { },
>  };
>  
>  static const struct of_device_id arche_combined_id[] = {
> - { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC 
> device */
> + /* Use PID/VID of SVC device */
> + { .compatible = "google,arche-platform", },
>   { .compatible = "usb,2", },
>   { },
>  };

Acked-by: Viresh Kumar 

-- 
viresh


[PATCH v3] staging: greybus: arche: wrap over-length lines

2017-07-10 Thread Mitchell Tasman
Adjust formatting of several comments to keep line length within
the 80 column limit preferred by the Linux kernel coding style.

Signed-off-by: Mitchell Tasman 
---
Changes in v3: Narrow scope of patch per Viresh Kumar's feedback
Changes in v2: Add back a missing space in a comment

 drivers/staging/greybus/arche-platform.c | 11 ---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/greybus/arche-platform.c 
b/drivers/staging/greybus/arche-platform.c
index eced2d2..6259904 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -176,7 +176,10 @@ static irqreturn_t arche_platform_wd_irq(int irq, void 
*devid)

arche_platform_set_wake_detect_state(arche_pdata,
 
WD_STATE_IDLE);
} else {
-   /* Check we are not in middle of irq thread 
already */
+   /*
+* Check we are not in middle of irq thread
+* already
+*/
if (arche_pdata->wake_detect_state !=
WD_STATE_COLDBOOT_START) {

arche_platform_set_wake_detect_state(arche_pdata,
@@ -657,12 +660,14 @@ static SIMPLE_DEV_PM_OPS(arche_platform_pm_ops,
arche_platform_resume);
 
 static const struct of_device_id arche_platform_of_match[] = {
-   { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC 
device */
+   /* Use PID/VID of SVC device */
+   { .compatible = "google,arche-platform", },
{ },
 };
 
 static const struct of_device_id arche_combined_id[] = {
-   { .compatible = "google,arche-platform", }, /* Use PID/VID of SVC 
device */
+   /* Use PID/VID of SVC device */
+   { .compatible = "google,arche-platform", },
{ .compatible = "usb,2", },
{ },
 };
-- 
2.9.3