All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: greybus: arche-platform.c: fix line over 80 characters
@ 2019-03-23 10:32 anushkacharu9
  0 siblings, 0 replies; 3+ messages in thread
From: anushkacharu9 @ 2019-03-23 10:32 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Anushka Shukla

From: Anushka Shukla <anushkacharu9@gmail.com>

Fix line over 80 charcters by shifting the comment

Signed-off-by: Anushka Shukla <anushkacharu9@gmail.com>
---
 drivers/staging/greybus/arche-platform.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
index 6eb842040c22..1e8fd48bedf9 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -47,7 +47,8 @@ struct arche_platform_drvdata {
 	struct gpio_desc *svc_reset;
 	bool is_reset_act_hi;
 	struct gpio_desc *svc_sysboot;
-	struct gpio_desc *wake_detect; /* bi-dir,maps to WAKE_MOD & WAKE_FRAME signals */
+	/* bi-dir,maps to WAKE_MOD & WAKE_FRAME signals */
+	struct gpio_desc *wake_detect; 
 
 	enum arche_platform_state state;
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] staging: greybus: arche-platform.c: fix line over 80 characters
@ 2019-03-23 11:01 anushkacharu9
  2019-03-24  8:57 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: anushkacharu9 @ 2019-03-23 11:01 UTC (permalink / raw)
  To: gregkh, outreachy-kernel; +Cc: Anushka Shukla

From: Anushka Shukla <anushkacharu9@gmail.com>

Fix line over 80 characters according to Linux kernel coding style

Signed-off-by: Anushka Shukla <anushkacharu9@gmail.com>
---
 drivers/staging/greybus/arche-platform.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
index 1e8fd48bedf9..970a11ccf578 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -180,8 +180,9 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)
 				 */
 				if (arche_pdata->wake_detect_state !=
 						WD_STATE_COLDBOOT_START) {
-					arche_platform_set_wake_detect_state(arche_pdata,
-									     WD_STATE_COLDBOOT_TRIG);
+					arche_platform_set_wake_detect_state(
+						arche_pdata,
+						WD_STATE_COLDBOOT_TRIG);
 					spin_unlock_irqrestore(
 						&arche_pdata->wake_lock,
 						flags);
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: greybus: arche-platform.c: fix line over 80 characters
  2019-03-23 11:01 [PATCH] staging: greybus: arche-platform.c: fix line over 80 characters anushkacharu9
@ 2019-03-24  8:57 ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2019-03-24  8:57 UTC (permalink / raw)
  To: anushkacharu9; +Cc: outreachy-kernel

On Sat, Mar 23, 2019 at 04:31:55PM +0530, anushkacharu9@gmail.com wrote:
> From: Anushka Shukla <anushkacharu9@gmail.com>
> 
> Fix line over 80 characters according to Linux kernel coding style
> 
> Signed-off-by: Anushka Shukla <anushkacharu9@gmail.com>
> ---
>  drivers/staging/greybus/arche-platform.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
> index 1e8fd48bedf9..970a11ccf578 100644
> --- a/drivers/staging/greybus/arche-platform.c
> +++ b/drivers/staging/greybus/arche-platform.c
> @@ -180,8 +180,9 @@ static irqreturn_t arche_platform_wd_irq(int irq, void *devid)
>  				 */
>  				if (arche_pdata->wake_detect_state !=
>  						WD_STATE_COLDBOOT_START) {
> -					arche_platform_set_wake_detect_state(arche_pdata,
> -									     WD_STATE_COLDBOOT_TRIG);
> +					arche_platform_set_wake_detect_state(
> +						arche_pdata,
> +						WD_STATE_COLDBOOT_TRIG);

The original is fine here, thanks.

greg k-h


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-24  8:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-23 11:01 [PATCH] staging: greybus: arche-platform.c: fix line over 80 characters anushkacharu9
2019-03-24  8:57 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2019-03-23 10:32 [PATCH] Staging: " anushkacharu9

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.