Skip to contentSkip to conversation

touchscreen/goodix.c:unify format

PATCH NAK mateng 2 participants 2 messages May 24, 2021

Subsystems (3)
lore
Share & tools
lore

mateng

author
#0 lore raw

PATCH 1/1 touchscreen/goodix.c:unify format

From: mateng <[email protected]>

unify format

---
 drivers/input/touchscreen/goodix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/touchscreen/goodix.c +2 -2
index c682b02..ab12065 100644
@@ -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
 	{}
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · mateng

From: mateng <[email protected]>

unify format

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

NAK

Quoted 31 lines

---
 drivers/input/touchscreen/goodix.c | 4 ++--

 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/input/touchscreen/goodix.c +1 -1
index c682b02..ab12065 100644
@@ -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",

drivers/input/touchscreen/goodix.c +1 -1
@@ -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

        {}