touchscreen/goodix.c:unify format

Started by mateng on May 24, 2021 · 2 messages from 2 authors · Last reply May 24, 2021

Subsystems (3)

Maintainers (3)

STALE2000d

open the first message on its own page

Message details and related content
From: mateng <redacted>

unify format

Signed-off-by: mateng <redacted>
---
 drivers/input/touchscreen/goodix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c b/drivers/input/touchscreen/goodix.c
index c682b02..ab12065 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -210,7 +210,7 @@ static int goodix_check_cfg_16(struct goodix_ts_data *ts,
 		.matches = {
 			DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
 			DMI_MATCH(DMI_PRODUCT_NAME, "TW100")
-		}
+		},
 	},
 	{
 		.ident = "WinBook TW700",
@@ -230,7 +230,7 @@ static int goodix_check_cfg_16(struct goodix_ts_data *ts,
 		/* YB1-X91L/F and YB1-X90L/F */
 		.matches = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9")
-		}
+		},
 	},
 #endif
 	{}
-- 
1.9.1

Message details and related content
On Mon, 2021-05-24 at 10:46 +0800, mateng wrote:
From: mateng <redacted>

unify format
This doesn't "unify the format", it adds commas where none are needed.

NAK
quoted hunk
Signed-off-by: mateng <redacted>
---
 drivers/input/touchscreen/goodix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/input/touchscreen/goodix.c
b/drivers/input/touchscreen/goodix.c
index c682b02..ab12065 100644
--- a/drivers/input/touchscreen/goodix.c
+++ b/drivers/input/touchscreen/goodix.c
@@ -210,7 +210,7 @@ static int goodix_check_cfg_16(struct
goodix_ts_data *ts,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "WinBook"),
                        DMI_MATCH(DMI_PRODUCT_NAME, "TW100")
-               }
+               },
        },
        {
                .ident = "WinBook TW700",
@@ -230,7 +230,7 @@ static int goodix_check_cfg_16(struct
goodix_ts_data *ts,
                /* YB1-X91L/F and YB1-X90L/F */
                .matches = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X9")
-               }
+               },
        },
 #endif
        {}
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help