lkml.org 
[lkml]   [2021]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: greybus: fixed the coding style, labels should not be indented.
Date
From: Manikishan Ghantasala <manikishanghantasala@gmail.com>

staging: greybus: gpio.c: Clear coding-style problem
"labels should not be indented" by removing indentation.

Signed-off-by: Manikishan Ghantasala <manikishanghantasala@gmail.com>
---
drivers/staging/greybus/gpio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/greybus/gpio.c b/drivers/staging/greybus/gpio.c
index 7e6347fe93f9..4661f4a251bd 100644
--- a/drivers/staging/greybus/gpio.c
+++ b/drivers/staging/greybus/gpio.c
@@ -20,9 +20,9 @@
struct gb_gpio_line {
/* The following has to be an array of line_max entries */
/* --> make them just a flags field */
- u8 active: 1,
- direction: 1, /* 0 = output, 1 = input */
- value: 1; /* 0 = low, 1 = high */
+ u8 active:1,
+ direction:1, /* 0 = output, 1 = input */
+ value:1; /* 0 = low, 1 = high */
u16 debounce_usec;

u8 irq_type;
--
2.25.1
\
 
 \ /
  Last update: 2021-06-02 15:39    [W:2.873 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site