summaryrefslogtreecommitdiff
path: root/zephyr/shim/include/usbc
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2022-07-07 16:02:43 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-08 03:01:25 +0000
commit5ebc252cce3c6ab4e8ce69696162f93790c8f811 (patch)
tree792a0ffb4a5e4f3e67f942b8c7a6865baf5955eb /zephyr/shim/include/usbc
parent59ddcfc2cf71e0c0f72ce5db583f5536d1aa73c0 (diff)
downloadchrome-ec-5ebc252cce3c6ab4e8ce69696162f93790c8f811.tar.gz
ppc: add comma separator in ppc shim for a better format
Move the comma from header to the dts binding. BUG=none TEST=zmake --goma testall --clobber BRANCH=none Change-Id: Ife8651cc58f43cdd9e6f6088fd860dec4d03237a Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3750555 Commit-Queue: Eric Yilun Lin <yllin@google.com> Auto-Submit: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/shim/include/usbc')
-rw-r--r--zephyr/shim/include/usbc/ppc_rt1739.h2
-rw-r--r--zephyr/shim/include/usbc/ppc_sn5s330.h2
-rw-r--r--zephyr/shim/include/usbc/ppc_syv682x.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/shim/include/usbc/ppc_rt1739.h b/zephyr/shim/include/usbc/ppc_rt1739.h
index 19e169a436..f8788e505e 100644
--- a/zephyr/shim/include/usbc/ppc_rt1739.h
+++ b/zephyr/shim/include/usbc/ppc_rt1739.h
@@ -15,4 +15,4 @@
.frs_en = COND_CODE_1(DT_NODE_HAS_PROP(id, irq), \
(GPIO_SIGNAL(DT_PHANDLE(id, irq))), \
(0)), \
- },
+ }
diff --git a/zephyr/shim/include/usbc/ppc_sn5s330.h b/zephyr/shim/include/usbc/ppc_sn5s330.h
index 7ec9b434a8..cbf129cd99 100644
--- a/zephyr/shim/include/usbc/ppc_sn5s330.h
+++ b/zephyr/shim/include/usbc/ppc_sn5s330.h
@@ -10,4 +10,4 @@
#define PPC_CHIP_SN5S330(id) \
{ .i2c_port = I2C_PORT(DT_PHANDLE(id, port)), \
.i2c_addr_flags = DT_STRING_UPPER_TOKEN(id, i2c_addr_flags), \
- .drv = &sn5s330_drv },
+ .drv = &sn5s330_drv }
diff --git a/zephyr/shim/include/usbc/ppc_syv682x.h b/zephyr/shim/include/usbc/ppc_syv682x.h
index f177aebe8b..d45a9862f1 100644
--- a/zephyr/shim/include/usbc/ppc_syv682x.h
+++ b/zephyr/shim/include/usbc/ppc_syv682x.h
@@ -15,4 +15,4 @@
.frs_en = COND_CODE_1( \
DT_NODE_HAS_PROP(id, frs_en_gpio), \
(GPIO_SIGNAL(DT_PHANDLE(id, frs_en_gpio))), (0)), \
- },
+ }